/usr/local/lib is not properly supported

Bug #73429 reported by Damjan Jovanovic
14
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.

Revision history for this message
Kjmph (kjmph) wrote :

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.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This was actually fixed in the version of glibc that shipped with Gutsy.

/usr/local/lib is defined in /etc/ld.so.conf.d/libc.conf

Changed in glibc:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.