On Fri, 3 Feb 2012 14:05:30 +0100
Ronnie van Aarle <[email protected]> wrote:
> Hello
>
> I'm attempted installing shadow-4.1.4.3, 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}
> done
> fi
>
> So these files are in another path, /usr/lib. I suppose
Where?
ls {/usr,}/lib/libpam_misc.so*
> 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.
Looking at the shadow-4.1.4.3/src/Makefile, it seems that it's libtool
that's getting the path from libpam_misc.la. Please post the output from:
cat {/usr,}/lib/libpam_misc.la
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page