ch5 perl linked to /lib

Ken Moffat zarniwhoop73 at googlemail.com
Sat Jan 2 16:36:57 PST 2010


2010/1/2 Bruce Dubbs <bruce.dubbs at gmail.com>:
>
> It sounds like an error in Chapter 5.  Everything there should be linked
>  to /tools.  At Section 6.4 when you enter chroot, /bin, /lib, /usr
> don't exist yet.  Are you sure you did 5.8. Adjusting the Toolchain?
>
> Section 6.5 set the link:
>
> case $(uname -m) in
>  x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 ;;
> esac
>
>   -- Bruce
> --

Yes, I am sure - I initially assumed I'd failed to do that
properly, but running ldd against an example prog from
every chapter 5 package says otherwise, e.g.

ken at bluesbreaker ~ $ldd /tools/bin/tar
	linux-vdso.so.1 =>  (0x00007fff0abff000)
	librt.so.1 => /tools/lib/librt.so.1 (0x00007f24c6a4b000)
	libgcc_s.so.1 => /tools/lib/libgcc_s.so.1 (0x00007f24c6835000)
	libc.so.6 => /tools/lib/libc.so.6 (0x00007f24c64df000)
	libpthread.so.0 => /tools/lib/libpthread.so.0 (0x00007f24c62c3000)
	/tools/lib64/ld-linux-x86-64.so.2 (0x00007f24c6c53000)

So, yes I've missed the symlink (or rather, it didn't get created
for some reason - script is now instrumented), but I'm back in
chapter 5 until I can build perl correctly.

Thanks.

ĸen
-- 
After tragedy, and farce, "OMG poneys!"



More information about the lfs-support mailing list