LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1037|回复: 3

LFS进入安装系统软件阶段GLIBC不能安装

[复制链接]
发表于 2005-2-2 04:24:43 | 显示全部楼层 |阅读模式
按照手册上的选项CONFIGURE ,make install时提示如下:
/usr/sources/glibc-build1/stubs.h
if test -r /usr/include/gnu/stubs.h && cmp -s /usr/sources/glibc-build1/stubs.h /usr/include/gnu/stubs.h; \
then echo 'stubs.h unchanged'; \
else /tools/bin/install -c -m 644 /usr/sources/glibc-build1/stubs.h /usr/include/gnu/stubs.h; fi
rm -f /usr/sources/glibc-build1/stubs.h
/usr/sources/glibc-build1/elf/sln /usr/sources/glibc-build1/elf/symlink.list
rm -f /usr/sources/glibc-build1/elf/symlink.list
test ! -x /usr/sources/glibc-build1/elf/ldconfig || LC_ALL=C LANGUAGE=C \
  /usr/sources/glibc-build1/elf/ldconfig  \
                               /lib /usr/lib
CC="gcc" /usr/bin/perl scripts/test-installation.pl /usr/sources/glibc-build1/
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcidn
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!
请教是什么方面出了问题,如何解决?/
 楼主| 发表于 2005-2-9 05:10:21 | 显示全部楼层
有谁能指点一下?
回复 支持 反对

使用道具 举报

发表于 2005-2-9 11:22:09 | 显示全部楼层
是不是基系统版本太高造成的,翻下老贴吧,应该都有类似问题
回复 支持 反对

使用道具 举报

发表于 2006-11-1 10:37:37 | 显示全部楼层

时隔一年,未知你解决否

应该是下列两点之一造成的

1 - 你在第5章和第6章中使用了不同的glibc版本,比如在第5章使用的glibc没有包含libcidn

2 - 在第5章,编译glibc时,你使用了这个选项 --enable-add-ons=nptl ,但在第6章,你使用了--enable-add-ons

解决问题的方法,你可以在第6章中同样使用这个选项--enable-add-ons=nptl, 将libcidn忽略。问题不大的,因为libcidn非常新,目前并不是十分流行。当然,你也可以返回第5章编译的地方,将libcidn编译进来。

最后,希望现在你仍然没有放弃!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表