SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
From: Thomas A Watson10/19/2008 10:37:34 AM
   of 484
 
The what and how of LD_LIBRARY_PATH and example from
redhat 7.3 and fedora FC3 FC8

The file /etc/ld.so.conf contains a list of paths (separated by newlines) that will be searched by ldconfig for libraries. You can edit it and add (or remove) a few lines and then run ldconfig (as root) to update the cache.

partial man page list of ldconfig.
/sbin/ldconfig ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib).

my redhat 7.3
[ 1235 ] > cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-1.45/lib
/usr/lib/wine
/usr/lib/qt2/lib
/usr/lib/mysql
/usr/lib/sane

/usr/local/lib
/usr/lib/qt-3.0.5/lib

my fedora core 3, default from original install and updates and installed packages. but I guess from orig install.
[ 542 ] > cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/mysql

my fedora core 8 has new convention of creating a directory of conf files and including those config files. default from original install and updates and installed packages. but I guess from orig install.

[ 3 ] > cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
[ 8 ] > ls /etc/ld.so.conf.d/
mysql-i386.conf qt-i386.conf
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext