You are not logged in.
I'm not sure about the contents of other peoples' /etc/ld.so.conf, but mine follows:
#
# /etc/ld.so.conf
#
# End of file
/usr/lib/libfakeroot
include /etc/ld.so.conf.d/*.confI was wondering how it is possible that all my software still seems to work despite most of the libraries being in /usr/lib/; why isn't /usr/lib/ included in ld.so.conf on Arch?
Thanks.
EDIT: Solution: ldconfig automatically includes /usr/lib
Last edited by RedScare (2010-02-20 04:07:47)
Offline
/lib & /usr/lib are by default the library directories on linux distributions.
/lib is mostly for boot & running linux
/usr/lib is for the software
When you are using pacman or on any other distro any other package manager, libraries should be install on /usr/lib
but if you build something from source then /usr/local/lib is defined.
Take a moment to read this: http://www.pathname.com/fhs/
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
The following is said in the manpage of '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).
The way I see it, these directories are automatically considered.
Edit: Ups, ebal was faster.
Last edited by matzo (2010-02-19 21:02:52)
Offline
Thanks. I thought that (for some reason) the "default" directories also had to be included in ld.so.conf.
Offline
Edit: please ignore (answer allready given).
Last edited by leepesjee (2010-02-20 02:12:22)
Offline