[pocket-linux] Still waiting...
David Horton
dhorton at megsinet.net
Fri Oct 31 19:26:49 EST 2003
daniel-linux wrote:
> Hi,
>
> Did not work!
>
> So i think the problem, is the way
> that RH build the library,
> particularly glibc.
>
> a) What is the difference between
> libc.so.6 from RH and Slackware ?
>
> b) Does someone got PL with Mandrake
> or Debian ?
>
>
Maybe the problem is not with libc. It might be libpam. As far as I
know Slackware does not use PAM (Pluggable Authentication Modules), but
Redhat does. Here is the output from 'ldd /bin/login' on Redhat 9:
$ ldd login
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40022000)
libpam.so.0 => /lib/libpam.so.0 (0x4004f000)
libdl.so.2 => /lib/libdl.so.2 (0x40057000)
libpam_misc.so.0 => /lib/libpam_misc.so.0 (0x4005c000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Whereas on when doing 'ldd /bin/login' on Slackware looks like this:
$ ldd login
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40022000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
with no mention of libpam or libpam_misc.
Try copying the PAM libs into your staging area and rebuilding the diskette.
Dave
P.S. Here is an article on PAM for a little background info:
http://www.linux-mag.com/1999-12/bestdefense_02.html
More information about the Pocket-Linux
mailing list