LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   When to rebuild the systems shared library cache (https://www.linuxquestions.org/questions/linux-software-2/when-to-rebuild-the-systems-shared-library-cache-4175430388/)

fakie_flip 10-03-2012 08:56 PM

When to rebuild the systems shared library cache
 
ldconfig -v
Rebuild the systems shared library cache



I've been watching some videos to prepare myself for the Linux+ 2nd exam. When would the system's shared library cache need to be rebuilt?

sundialsvcs 10-04-2012 07:55 AM

The shared library cache should be rebuilt anytime a shared library is added or replaced. Normally, the installation script for the package does so.

This cache allows the system to quickly determine which library is needed to satisfy an application's requests, without searching the filesystem.

fakie_flip 10-08-2012 12:47 AM

How come I do not have lddconfig in CentOS 6.3? Nor does yum provides \*/lddconfig return any search results.

knudfl 10-08-2012 04:01 AM

See post # 1 : ldconfig, not lddconfig.

su : Then the command is # /sbin/ldconfig

If you want /sbin/ , /usr/sbin/ in your PATH, then 'su -' must be used.
( su<space><hyphen> ).


.

fakie_flip 10-21-2012 04:20 AM

I see. What confused me is the related command 'ldd' using 2 d's. And then I typed lddconfig.


All times are GMT -5. The time now is 01:02 PM.