I have been trying to build LFS 6.0 on my x86_64 and want to keep it open to multilib in the future at least. So I have been building with --libdir=/tools/lib64. However some things put themselves in lib, and when I try to check gcc in adjusting the toolchain (section 5.9) it gives me an error:
[EMAIL PROTECTED]:/tools> cc dummy.c /lfs/tools/bin/../lib64/gcc/x86_64-unknown-linux-gnu/3.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find /tools/lib/libc.so.6 collect2: ld returned 1 exit status What tells ld where to look for libc? I thought that ld used ld.so.conf to determine where all the libraries were, but it is looking in a directory not in my ld.so.conf (tools/lib/). Any help would be appreciated. Thanks, -Doug -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
