Unfortunately everything looks alright, that is both returned
/tools/lib/libc.so.6 or ld-linux.so.2.
the dummy log showed it looked in a few places for libc, but it found
it so I assume that means everything is ok.
Hrm... I tried doing a make install on another version of glibc I had
around that was compiled with -O2 and it gave error O_O
/bin/sh: no: command not found
There is something seriously wrong... damnit
- Michael Chrostowski
On 1/28/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 1/28/06, Michael Chrostowski <[EMAIL PROTECTED]> wrote:
> > I'm using scripts for mounting the right stuff, chroot'ing, then
> > mounting more. I mean it should work to my knowledge. I double checked
> > all of it... what's really bugging me is that /tools/bin/localedef
> > works in the chroot but not in outside of it, and the other files
> > (/usr/bin/localedef as well as recently build localedef's still in
> > their build folders) work outside the chroot but not inside.
>
> OK, sanity check time. Seems like these are all toolchain adjustment
> issues. In fact (don't do this yet), but if you went on to 6.13, I
> think you'd find that everything worked inside the chroot. Let's try
> the sanity check before I expound about what I think the problem is.
>
> echo 'main(){}' > dummy.c
> cc dummy.c -Wl,--verbose &> dummy.log
> readelf -l a.out | grep 'ld-linux'
>
> This should return /tools/ld-linux.so.2. If not, then things in
> /tools have been linking against the host libraries. If you do get
> the right result, what happens with
>
> grep 'libc.so' dummy.log
>
> You should get /tools/lib/libc.so.6.
>
> --
> Dan
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page