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? |
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. |
How come I do not have lddconfig in CentOS 6.3? Nor does yum provides \*/lddconfig return any search results.
|
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> ). . |
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. |