Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux ldconfig command     - STL spatial Configurator (Programming)

- Source MongoDB 3.2.1 installed on CentOS6.5 (Database)

- CentOS / Linux SWAP partitions added (Linux)

- Python3 multi-thread download codes (Programming)

- Java logging performance of those things (Programming)

- Oracle table space create large files (Database)

- Linux System Tutorial: Ubuntu on the desktop is disabled by default keyring to unlock tips (Linux)

- MySQL my.cnf sql_mode schema modifications (Database)

- Shell generated using automated configuration script Orabbix (Database)

- Install minimize RHEL / CentOS 7 some things need to do (Linux)

- Java in the final qualifier (Programming)

- Nginx configuration support f4v video format player (Server)

- Elasticsearch Kibana installation notes (Linux)

- Detailed reference Oracle 11g Partition (Database)

- Install RAID 6 (Striping double distributed parity) (Linux)

- Eclipse distributed management using GitHub project development (Linux)

- Linux Network Programming --epoll model Detailed principles and examples (Programming)

- numpy and SciPy installation under Python for scientific computing package (Linux)

- Zabbix monitoring of the switch (Server)

- To install Xen in Ubuntu 12.04 (Linux)

  Linux ldconfig command
  Add Date : 2018-11-21      
  First, Introduction

ldconfig is a dynamic link library management commands, in order to make the system dynamic link library shared by the need to run a dynamic link library management commands --ldconfig. By use ldconfig command, mainly in the default search directories (/ lib and / usr / lib) and listed in the directory /etc/ld.so.conf dynamic library configuration file, search for a shareable dynamic link library (format as previously described, lib * .so *), and then create a dynamic loader (ld.so) the desired connection and cache file cache file default /etc/ld.so.cache, save this file had already been booked dynamic link library name list sequence.

Second, the Precautions

1. Inside / lib and / usr / lib to add content, without modifying /etc/ld.so.conf, but to execute ldconfig, otherwise the library will not be found

2. On the outside of the top two directories add content, you need to modify /etc/ld.so.conf, and execute ldconfig, otherwise the library will not be found

Such as installing mysql to / usr / local / mysql, mysql have a bunch library in / usr / local / mysql / lib Now, at this time need in /etc/ld.so.conf to add / usr / local / mysql / lib, and execute ldconfig look

3. If you want to put in those two directories lib, do not want to add content to /etc/ld.so.conf, you can export a global variable LD_LIBRARY_PATH, then when the program will go to this directory to find the library. In general, this is only a temporary solution, in the absence of authority or temporary needs when using

4. ldconfig do these things when you run the program with relevant when compiled with nothing to do. The compile time or add -L got to add, do not confuse

5. In short, no matter what changes are on the library, the best are ldconfig it, otherwise there will be some unexpected results. I do not spend too much time, but will save a lot of things
- Linux (CentOS) SSH login without password authentication (Linux)
- Getting Started with Linux system to learn: how to install autossh (Linux)
- JavaScript common functions summary (Programming)
- Zabbix monitors the status of TCP connections (Server)
- Java Concurrency - processes and threads (Programming)
- SHELL script to use anti SSH brute force and vsftpd (Linux)
- Use PXE with kickstart to install Linux automatically (Linux)
- Linux support exFAT and NTFS (Linux)
- MySQL management partition table (Database)
- Learning UNIX good habits (Linux)
- Firewall settings oracle remote connection in Linux systems (Linux)
- How to make a U disk to install Ubuntu (Linux)
- Talk about the Linux ABI compatibility Application (Linux)
- CentOS / RedHat system partition essential requirements and partition scheme (Linux)
- Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line (Linux)
- Ubuntu users to install Gnome-Pie 0.6.5 (Linux)
- About Hibernate cache, you want the latest data have trouble even session.clear (Database)
- Custom Android UI template Comments (Programming)
- Network Security: SYN attacks against under linux (Linux)
- Oracle 11R2 Grid Infrastructure execute root.sh script rootcrs.pl execution failed treatment (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.