ldconfig using wrong path to config/cache
Ive run into a fairly odd issue on a few servers running RHEL 5.9
For some reason I cant seem to figure out ldconfig looks in /usr/local/etc per default instead of /etc where its suppose to look [root@myhost ~]# ldconfig ldconfig: Can't open configuration file /usr/local/etc/ld.so.conf: No such file or directory [root@myhost ~]# ls /etc/ld.so.conf /etc/ld.so.conf [root@myhost ~]# ldconfig -p | head -1 38 libs found in cache `/usr/local/etc/ld.so.cache' [root@myhost ~]# ldconfig -p -C /etc/ld.so.cache | head -1 653 libs found in cache `/etc/ld.so.cache' Im guessing its a wrong enviroment setting somewhere Can anyone tell me how I fix this so ldconfig uses correct default path ? |
Are you using the RHEL5.9 glibc package.
On my RHEL5.9 system I don't see the issue you have but the ldconfig and setup are provided by glibc so if you did something odd like install an upstream glibc you may be getting a location other than the 1 RHEL5.9's build expects. "yum list glibc" to see what version you have installed and what version is available from repository. |
All times are GMT -5. The time now is 02:15 PM. |