On Fri, 30 Dec 2011 03:52:53 +0000
Ken Moffat <[email protected]> wrote:

>  This time (still LFS-7.0), module-init-tools (needs libc.a or
> else --disable-static-tools)

I must confess I was unaware of this problem. It's been years since I
compiled module init tools as I don't use any modules.

>  and sysvinit (specifically, sulogin -
> it couldn't find libcrypt although the symlink from libcrypt.so to
> /lib/libcrypt.so.1 to libcrypt-2.14 looks ok, running ldd on it
> from the host reported
> 
> /mnt/lfs/usr/lib/libcrypt.so: /lib/libc.so.6: version `GLIBC_2.14'
> not found (required by /mnt/lfs/usr/lib/libcrypt.so)
>       linux-vdso.so.1 =>  (0x00007fffaa3ff000)
>       libc.so.6 => /lib/libc.so.6 (0x00007f7ac3927000)
>       /lib64/ld-linux-x86-64.so.2 (0x00007f7ac3ca8000)
> 
>  - possibly the error message is from running on the older host,
> but I couldn't persuade sulogin to build until I made the static
> libcrypt.a visible.

Try adding this to the sed on sysvinit's src/Makefile:

sed -i '/^all:/i  SULOGINLIBS+= -lcrypt' src/Makefile

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to