[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
undefined reference to `__niserr2nss_tab'
From: |
Rainer Mager |
Subject: |
undefined reference to `__niserr2nss_tab' |
Date: |
Fri, 11 May 2001 10:03:21 +0900 |
Hi all,
I'm trying to install glibc-2.2.3 and am running into a problem. After
the build process and 'make check', which passes without problem, I do:
env LANGUAGE=C LC_ALL=C make install
After a while this runs 'scripts/test-installation.pl' which fails with:
/usr/bin/../lib/libnss_compat.so: undefined reference to
`__niserr2nss_tab'
/usr/bin/../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 all the potential problems I can think of and can't find
anything. Any ideas? Which library should provide these 2 missing
symbols?
Thanks,
--Rainer
- undefined reference to `__niserr2nss_tab',
Rainer Mager <=