bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make install fails for 2.2.3


From: Stephen F. Booth
Subject: make install fails for 2.2.3
Date: Sat, 23 Jun 2001 09:59:14 -0500

I'm having trouble installing glibc-2.2.3 on my GNU/linux system.  I've got
kernel 2.4.0, gcc-2.95.2, and binutils-2.11.2.  make and make check both
work fine, but make install fails at the very end after generating the stubs
files:

CC="gcc" /usr/bin/perl scripts/test-installation.pl /usr/src/glibc-obj/
/usr/lib/libnss_compat.so: undefined reference to `__niserr2nss_tab'
/usr/lib/libnss_compat.so: undefined reference to `__niserr2nss_count'
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
make[1]: Leaving directory `/usr/src/glibc-2.2.3'
make: *** [install] Error 2


I've looked at the libraries using ldd and nm, and those symbols are
defined, but in different libraries that nss_compat doesn't link against.
I'm a bit puzzled, and to top things off, gcc is behaving weirdly now.  Any
help would be much appreciated.

-Stephen
--
Stephen F. Booth / mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]