Randy McMurchy wrote:


We're just not on the same page here.


This is the last time I'll try, otherwise, let's just forget about
it. It's really not that big of a deal.

The devil is in the details and we all need to understand. If I'm wrong, I want to know.


But in the LFS versions of both Shadow and Readline the unversioned
.so symlink is in /usr/lib. The other files related to the libraries
are in /lib.

Looking at an LFS6 install:

$ ls -l /lib/libread* /lib/libsha* /usr/lib/libread* /usr/lib/libsha*
lrwxrwxrwx 1 root root 18 Jan 17 09:32 /lib/libreadline.so.5 -> libreadline.so.5.0
-rwxr-xr-x 1 root root 206725 Jan 17 15:54 /lib/libreadline.so.5.0
lrwxrwxrwx 1 root root 18 Jan 17 15:45 /lib/libshadow.so.0 -> libshadow.so.0.0.0
-rwxr-xr-x 1 root root 47905 Jan 17 15:54 /lib/libshadow.so.0.0.0


-rw-r--r-- 1 root root 261142 Jan 17 15:54 /usr/lib/libreadline.a
lrwxrwxrwx 1 root root 26 Jan 17 09:33 /usr/lib/libreadline.so -> ../../lib/libreadline.so.5
-rw-r--r-- 1 root root 717482 Jan 17 15:45 /usr/lib/libshadow.a
-rwxr-xr-x 1 root root 804 Jan 17 15:45 /usr/lib/libshadow.la
lrwxrwxrwx 1 root root 24 Jan 17 15:46 /usr/lib/libshadow.so -> ../../lib/libshadow.so.0


I think you are saying that there is no link in /usr/lib:
libreadline.so.5
libshadow.so.0

Is that correct?

Checking further, cracklib is a prereq for PAM and it dow not install any links or files in /usr/lib.

However, following the book's instructions for PAM we have:
$ ls -l /lib/libpam* /usr/lib/libpam*
lrwxrwxrwx 1 root root 11 Feb 22 13:44 /lib/libpam.so -> libpam.so.0
lrwxrwxrwx 1 root root 14 Feb 22 13:44 /lib/libpam.so.0 -> libpam.so.0.78
-rwxr-xr-x 1 root root 85919 Feb 22 13:44 /lib/libpam.so.0.78
lrwxrwxrwx 1 root root 16 Feb 22 13:44 /lib/libpam_misc.so -> libpam_misc.so.0
lrwxrwxrwx 1 root root 19 Feb 22 13:44 /lib/libpam_misc.so.0 -> libpam_misc.so.0.78
-rwxr-xr-x 1 root root 20559 Feb 22 13:44 /lib/libpam_misc.so.0.78
lrwxrwxrwx 1 root root 12 Feb 22 13:44 /lib/libpamc.so -> libpamc.so.0
lrwxrwxrwx 1 root root 15 Feb 22 13:44 /lib/libpamc.so.0 -> libpamc.so.0.78
-rwxr-xr-x 1 root root 25306 Feb 22 13:44 /lib/libpamc.so.0.78


-rw-r--r-- 1 root root 147712 Feb 22 13:44 /usr/lib/libpam.a
lrwxrwxrwx 1 root root 24 Feb 22 13:44 /usr/lib/libpam.so -> ../../lib/libpam.so.0.78
-rw-r--r-- 1 root root 22078 Feb 22 13:44 /usr/lib/libpam_misc.a
lrwxrwxrwx 1 root root 29 Feb 22 13:44 /usr/lib/libpam_misc.so -> ../../lib/libpam_misc.so.0.78
-rw-r--r-- 1 root root 30802 Feb 22 13:44 /usr/lib/libpamc.a
lrwxrwxrwx 1 root root 25 Feb 22 13:44 /usr/lib/libpamc.so -> ../../lib/libpamc.so.0.78


This puts a single .so file in /usr/lib for each pam library. I don't see the inconsistency with LFS.

  -- Bruce

--
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