Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ ld.so.conf.d profile     - How to fix Ubuntu / Mint can not add PPA source of error (Linux)

- JVM garbage collector and memory allocation strategy (Programming)

- CentOS Linux firewall configuration and Close (Linux)

- How to use Xmanager Remote Desktop and VNC Log (Linux)

- Realization of Linux operating system illegal IP censorship (Linux)

- To create and manage virtual machines on Ubuntu Redhat (Linux)

- Java implementation file encryption and decryption (Programming)

- To batch create users under Linux (Linux)

- Introduction to Linux system process monitoring tools (Linux)

- Linux Security trust with users (Linux)

- PostgreSQL-- run Supervisord on Docker in Ubuntu (Database)

- CentOS 6.5 install VNC-Server (Linux)

- Common DDOS attacks (Linux)

- Jigsaw project will solve the problem of Java JAR hell Mody (Programming)

- Memory leak analysis using Android studio (Programming)

- Emacs install clojure development environment (Linux)

- Linux system font color change (Linux)

- Linux Security and Optimization (Linux)

- Use Nginx as a load balancer (Server)

- Github Remote Assistance (Linux)

  ld.so.conf.d profile
  Add Date : 2016-10-26      
  ld.so.conf.d used to load Linux system dynamic library file:
In the / etc we will find the following three files
You can see the view ld.so.conf later is included in all profiles ld.so.conf.d
include ld.so.conf.d / *. conf

See ld.so.conf.d contents you can see a lot of profiles
[Root @ abctest mcrypt-2.6.8] # ll /etc/ld.so.conf.d/
total 16
-rw-r -. r-- 1 root root 17 Feb 9 2012 atlas-x86_64.conf
-r - r - r-- 1 root root 324 Jan 30 2013 kernel-2.6.32-358.el6.x86_64.conf.
-rw-r -. r-- 1 root root 17 Dec 5 2012 mysql-x86_64.conf
-rw-r -. r-- 1 root root 22 Jul 18 2011 qt-x86_64.conf

Check the configuration can be seen in the following configuration

[Root @ abctest mcrypt-2.6.8] # cat /etc/ld.so.conf.d/qt-x86_64.conf

I add a profile
12 [root @ abctest mcrypt-2.6.8] # vi /etc/ld.so.conf.d/userlocal.conf
/ Usr / local / lib

Check again have found a dynamic library can be found under the directory

[Root @ abctest mcrypt-2.6.8] # ldconfig -p | grep libmcrypt
        libmcrypt.so.4 (libc6, x86-64) => /usr/local/lib/libmcrypt.so.4
        libmcrypt.so (libc6, x86-64) => /usr/local/lib/libmcrypt.so

But I actual operation was not successful, but after adding /etc/ld.so.conf path to take effect.
Corresponding information is cached in the ld.so.cache
You can view by string ld.so.cache
If this software can not run the emergence can be viewed as dynamic libraries ldd command is missing the program fails to start
[Root @ abctest mcrypt-2.6.8] # ldd / sf_web / mysql / bin / mysql
        linux-vdso.so.1 => (0x00007fff3b5fc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003ff8200000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003ff8600000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003ff7e00000)
        libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f1380a06000)
        libstdc ++. so.6 => /usr/lib64/libstdc++.so.6 (0x0000003ffbe00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003ff8e00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003ffca00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003ff7a00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003ff7600000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003ff9e00000)
- Cacti installation deployment under CentOS 6.6 (Server)
- Top 10: HTML5, JavaScript 3D game engine and framework (Linux)
- Linux directory permissions to read and execute permissions difference (Linux)
- Oracle to create an external table (Database)
- Mac OS X 10.9 compiler OCI8 module (Programming)
- Use source packages compiled and installed GCC5.1 in Mac OS X 10.10.3 (Linux)
- C ++ free store and heap (Programming)
- Linux system security infrastructure Highlights (Linux)
- iOS developers - a simple factory pattern and OC reflection (Programming)
- Why do you need close contact Rust 1.0 (Programming)
- Build your own Python coding environment (Linux)
- Java class HashSet (Programming)
- HTML5 Application Cache (Programming)
- Eclipse remove all comments and code spaces (Linux)
- How to Install Android Studio on Ubuntu 15.04 / CentOS7 (Linux)
- Eclipse-4.4 crash problem solving under Debian-7.6 (Linux)
- Neo4j map data processing tab (Database)
- Linux server operating system security configuration (Linux)
- Create RAID 1 (mirroring) with two disks (Linux)
- Use Ganglia to monitor your cluster (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.