This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
error when installing glibc(builds o.k.)
- From: Justin Mattock <justinmattock at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Fri, 3 Sep 2010 14:26:12 -0700
- Subject: error when installing glibc(builds o.k.)
I seem to be hitting something here(below) Ive built glibc with gcc 4.6.0
with glibc git two weeks ago without such an error, pulled this morning,
and am now hitting this is this reported at all or do I have something wrong
test ! -x /home/kernel/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \
/home/kernel/glibc-build/elf/ldconfig \
/lib /usr/lib
CC="gcc" /usr/bin/perl scripts/test-installation.pl /home/kernel/glibc-build/
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin/ld:
cannot find -lnss_test1
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: [install] Error 1 (ignored)
make[1]: Leaving directory `/home/kernel/glibc'
--
Justin P. Mattock