(from cvs) sensors binary compile probs on rh8

Jean Delvare khali at linux-fr.org
Thu Dec 19 07:39:44 CET 2002


> my man page for ld.so clearly says that /usr/lib and /lib are last.
> You can also see this from the output of 'ldconfig -v'.
> 
> Is yours different?

arrakis:~> /sbin/ldconfig -Nv | grep ^/ | sed -e 's/:$//'
/lib
/usr/lib
/opt/xpdf-1/lib
/usr/local/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/gnome/lib
/usr/openwin/lib
/opt/kde/lib

So I have /lib and /usr/lib first. Here follows my /etc/ld.so.conf for
reference:

/opt/xpdf-1/lib
/usr/local/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/gnome/lib
/usr/openwin/lib
/opt/kde/lib

I guess the order depends on the system and we can't assume anything.
Some shell/perl magic could let us know if more than one library is
present and which one will be used. This is something I can do if you
tell me where to do it and what it should do.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



More information about the lm-sensors mailing list