Bruce Dubbs wrote:
Jim Gifford wrote:

Bruce Dubbs wrote:

Jim Gifford wrote:


.so files belong in /usr/lib .so.version belong in /lib.



I'm not sure what you are saying here Jim. If the library file
is either referenced as a symlink or a regular file by an excutable file in /bin or /sbin, it needs to be in /lib. There should be no links from /lib to a location outside of /lib. The rule here is that the programs must be execuatable if /usr is not mounted.


  -- Bruce

I had a long discussion with a lot of people on this issue.

The actualy libaries get installed into /lib, but the symlinks for those libraries (.so) are in /usr/lib. Tushar and others corrected me on this issue in the past. Look in lfs-dev from when I changed the shadow and readline to use --libdir.


If /usr is not mounted and an executable needs a .so library defined by one of those symlinks placed on /usr/lib/, how does the program find it?

  -- Bruce



This comes up every so often..

Check the lfs-dev archives from February 2002, and read through the thread titled "ncurses installation commands".

Here's where it starts:
http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2002-February/023335.html

Mabe check this thread too:
http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2002-February/023335.html

There is also some relevant info in the Debian policy manual (not that we're Debian):
http://www.debian.org/doc/debian-policy/ch-sharedlibs.html


Jack Brown
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to