glibc-2.3.2 - make failed - chap6
ken at kenmoffat.uklinux.net
Thu Feb 19 17:00:05 PST 2004
On Fri, 20 Feb 2004, Pvl wrote:
> Sorry, I read the FAQ but I'm a newbie so, one error and I panic.
No worries, it came across stronger than I intended.
> Here is the result of the ldd out of the chroot.
> ldd /tools/bin/gawk
> libdl.so.2 => /lib/libdl.so.2 (0x4001c000)
> libm.so.6 => /lib/libm.so.6 (0x4001f000)
> libc.so.6 => /lib/libc.so.6 (0x40041000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> >bad news
> ldd /tools/bin/cat
> libc.so.6 => /tools/lib/libc.so.6 (0x40015000)
> /tools/lib/ld-linux.so.2 => /tools/lib/ld-linux.so.2 (0x40000000)
> >I think it's right.
> I don't know why only gawk is linked to /lib/ld-linux.so.2, but cat,
> which is compiled just after, is linked to /tools/lib/ld-linux.so.2
No, me neither. I've not seen that before. I don't understand how it
can happen (but then, I'm not brilliant on how the toolchain works).
I suggest you check example programs from the other packages, to make
sure that only gawk is affected. As a work-around, I suggest
repeating the chapter 5 gawk build/install [ outside chroot ] to see if
that fixes it.
Brighton tops UK Jedi league
More information about the lfs-support