[blfs-support] make shadow fails after installation of Linux-PAM

Ronnie van Aarle ronnie.van.aarle at gmail.com
Fri Feb 3 05:05:30 PST 2012


I'm attempted installing shadow-, however, running make results in

gcc: error: /lib64/libpam_misc.so: No such file or directory
gcc: error: /lib64/libpam.so: No such file or directory.
etc etc.

The last step from Linux-PAM is:

if [ -L /lib/libpam.so ]; then
   for LINK in libpam{,c,_misc}.so; do
       ln -v -sf ../../lib/$(readlink /lib/${LINK}) /usr/lib/${LINK} &&
       rm -v /lib/${LINK}

So these files are in another path, /usr/lib. I suppose I should

sed -i -e '|/lib64/libpam_misc.so|/usr/lib64/libpam_misc.so' -e \
         -e '|/lib64/libpam.so|/usr/lib64/libpam.so|' <somefile>

To modify the shadow build scripts in order to point to the right path.
However, I don't know what file, and I'm also not sure how this sed syntax
should be.

Thanks in advance, Ronnie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20120203/908e3d02/attachment.html>

More information about the blfs-support mailing list