QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 913|回复: 2

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

[复制链接]
发表于 2005-2-2 04:31:15 | 显示全部楼层 |阅读模式
按照手册上的选项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-2 21:49:57 | 显示全部楼层
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)

你有没有上述的问题?
回复

使用道具 举报

发表于 2005-2-15 18:20:03 | 显示全部楼层
我试图--prefix=/usr时碰到问题,你重新configure --prefix=/usr/local/glibc_XXX
就没事,记得rm -rf ./glibc-build/
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-5 04:39 , Processed in 0.128446 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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