LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Glibc 2.6.1 test error (https://www.linuxquestions.org/questions/linux-general-1/glibc-2-6-1-test-error-638409/)

hbinded 04-28-2008 11:12 AM

Glibc 2.6.1 test error
 
Hi, I'm currently building my system from scratch based on LFS, DIY, Jaguar linux and Ubuntu. Now, I when I try to compile glibc, I get this error:
Code:

gcc -nostdlib -nostartfiles -o /home/pkgmgr/src/glibc-build/iconvdata/tst-table-from  -Wl,-dynamic-linker=/lib/ld-linux.so.2 -s  -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /home/pkgmgr/src/glibc-build/csu/crt1.o /home/pkgmgr/src/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /home/pkgmgr/src/glibc-build/iconvdata/tst-table-from.o  -Wl,-rpath-link=/home/pkgmgr/src/glibc-build:/home/pkgmgr/src/glibc-build/math:/home/pkgmgr/src/glibc-build/elf:/home/pkgmgr/src/glibc-build/dlfcn:/home/pkgmgr/src/glibc-build/nss:/home/pkgmgr/src/glibc-build/nis:/home/pkgmgr/src/glibc-build/rt:/home/pkgmgr/src/glibc-build/resolv:/home/pkgmgr/src/glibc-build/crypt:/home/pkgmgr/src/glibc-build/nptl /home/pkgmgr/src/glibc-build/libc.so.6 /home/pkgmgr/src/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `gcc --print-file-name=crtend.o` /home/pkgmgr/src/glibc-build/csu/crtn.o
gcc -nostdlib -nostartfiles -o /home/pkgmgr/src/glibc-build/iconvdata/tst-table-to  -Wl,-dynamic-linker=/lib/ld-linux.so.2 -s  -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /home/pkgmgr/src/glibc-build/csu/crt1.o /home/pkgmgr/src/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /home/pkgmgr/src/glibc-build/iconvdata/tst-table-to.o  -Wl,-rpath-link=/home/pkgmgr/src/glibc-build:/home/pkgmgr/src/glibc-build/math:/home/pkgmgr/src/glibc-build/elf:/home/pkgmgr/src/glibc-build/dlfcn:/home/pkgmgr/src/glibc-build/nss:/home/pkgmgr/src/glibc-build/nis:/home/pkgmgr/src/glibc-build/rt:/home/pkgmgr/src/glibc-build/resolv:/home/pkgmgr/src/glibc-build/crypt:/home/pkgmgr/src/glibc-build/nptl /home/pkgmgr/src/glibc-build/libc.so.6 /home/pkgmgr/src/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `gcc --print-file-name=crtend.o` /home/pkgmgr/src/glibc-build/csu/crtn.o
GCONV_PATH=/home/pkgmgr/src/glibc-build/iconvdata LC_ALL=C  /home/pkgmgr/src/glibc-build/elf/ld-linux.so.2 --library-path /home/pkgmgr/src/glibc-build:/home/pkgmgr/src/glibc-build/math:/home/pkgmgr/src/glibc-build/elf:/home/pkgmgr/src/glibc-build/dlfcn:/home/pkgmgr/src/glibc-build/nss:/home/pkgmgr/src/glibc-build/nis:/home/pkgmgr/src/glibc-build/rt:/home/pkgmgr/src/glibc-build/resolv:/home/pkgmgr/src/glibc-build/crypt:/home/pkgmgr/src/glibc-build/nptl /home/pkgmgr/src/glibc-build/iconvdata/bug-iconv1  > /home/pkgmgr/src/glibc-build/iconvdata/bug-iconv1.out
/home/pkgmgr/src/glibc-build/iconv/iconv_prog: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/home/pkgmgr/src/glibc-build/iconv/iconv_prog: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/home/pkgmgr/src/glibc-build/iconv/iconv_prog: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

Here is the whole log file and my config.log. I have checked my system for libdl.so.2 and it's there:
Code:

pkgmgr-in-chroot:~$ ls -l /temptools/lib/libdl.so*
lrwxrwxrwx 1 1000 1000 10 Apr 28 07:17 /temptools/lib/libdl.so -> libdl.so.2
lrwxrwxrwx 1 1000 1000 14 Apr 28 07:19 /temptools/lib/libdl.so.2 -> libdl-2.6.1.so

Here is the config.log
[html]http://oirere.pastebin.com/pastebin.php?dl=f51254c31[/html]


All times are GMT -5. The time now is 09:38 AM.