/usr/local/lib is not properly supported
Bug #73429 reported by
Damjan Jovanovic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Take just about any tarball and do the usual ./configure && make && make install. It will almost certainly refuse to work because it can't find its libraries.
/usr/local/lib needs to appear in /etc/ld.so.conf, or LD_LIBRARY_PATH needs to be set in /etc/profile by default.
To post a comment you must log in.
I concur. Using Feisty Fawn, /usr/local/lib is still not a part of the ld.so.cache.
Usual Linux semantics is the distro packages go into /usr/lib while third party builds go in /usr/local/lib.
Creating and adding /usr/local/lib to /etc/ld. so.conf. d/local. conf and rerunning ldconfig will solve this problem, but this isn't setup by default.