- 论坛徽章:
- 0
|
本帖最后由 jerrybond 于 2011-08-23 08:26 编辑
弄了一天了,想安装个glibc, 看C库原码 make 过 ,make test 不过
http://bbs.chinaunix.net/thread-3585196-1-1.html
http://www.linuxsir.org/bbs/thread379336.html
最后实在无奈sudo make install (硬装) 结果如下
CC="gcc" /usr/bin/perl scripts/test-installation.pl /usr/src/glibc-build/
/usr/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
make[1]: Leaving directory `/usr/src/glibc'
make: *** [install] 错误 2
各位大侠,帮解决一下看库源码的问题吧。谢谢 |
|