LFS-6.2 Chapter6.9 Glibc在make install的时候出错
时间:2008-09-27
来源:互联网
我在ubuntu 8.04下作LFS 6.2
在6.9 Glibc,
运行grep Error glibc-check-log,显示:
然后我接着运行make install,结果出现错误
请问问题出在哪?
谢谢!
在6.9 Glibc,
运行grep Error glibc-check-log,显示:
代码:
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
代码:
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 `/sources/glibc-2.3.6' make: *** [install] Error 2
谢谢!
作者: zongtongyi 发布时间: 2008-09-27
你应该用LFS6.3比较好,因为我很有经验,可以帮你解决一切问题,包括ALFS(自动编译LFS)哇哈哈!
建议用官方的LIVECD开展工作,不要用原来的UBUNTU。因为UBUNTU的包都是预编译装上去的,采用的是很通用的选项,谁知道什么地方设置有问题有可能会让你OVER?这也就是一切从源码开始才最清楚的原因。
建议用官方的LIVECD开展工作,不要用原来的UBUNTU。因为UBUNTU的包都是预编译装上去的,采用的是很通用的选项,谁知道什么地方设置有问题有可能会让你OVER?这也就是一切从源码开始才最清楚的原因。
作者: ti8er 发布时间: 2008-09-27
推測可能是 Ubuntu 8.04 裡的 gcc 過新,但 LFS-6.2 裡的 glibc 過舊?做 LFS-6.3 行不?
Btw,我不是很理解,據以往的情況,用 Ubuntu 做 LFS/CLFS 遇到問題都比較多,但用 Debian unstable 卻會順利(再次證明 Ubuntu != Debian)!
Btw,我不是很理解,據以往的情況,用 Ubuntu 做 LFS/CLFS 遇到問題都比較多,但用 Debian unstable 卻會順利(再次證明 Ubuntu != Debian)!
作者: d00m3d 发布时间: 2008-09-28
我用的最新的live-cd, 也出现了这个问题? 请问该怎么办? 是忽略还是怎么啊?
谢谢!
谢谢!
作者: scutan 发布时间: 2008-10-25
安装是有错误肯定就不能忽略的
check时有错误不用怎么管他
安装好后检查strings /lib/ld-linux.so.2,看输出中是否包含:
/etc/ld.so.cache
strings /sbin/ldconfig | grep etc,看输出中是否包含:
/etc/ld.so.cache
/etc/ld.so.conf
check时有错误不用怎么管他
安装好后检查strings /lib/ld-linux.so.2,看输出中是否包含:
/etc/ld.so.cache
strings /sbin/ldconfig | grep etc,看输出中是否包含:
/etc/ld.so.cache
/etc/ld.so.conf
作者: lofeng410 发布时间: 2008-10-25
在邮件列表里有这样的回答:
Please ignore, found the solution here:
http://archives.linuxfromscratch.org...ry/050585.html
Another solution would be to ignore the output above. It makes absolutely no sense for LFS because the test program is built with not-yet-adjusted toolchain, i.e. against glibc in /tools. As you can see with readelf -l /tmp/test-prgXXXXXX, the interpreter is /tools/lib/ld-linux.so.2.
--
Alexander E. Patrakov
Please ignore, found the solution here:
http://archives.linuxfromscratch.org...ry/050585.html
Another solution would be to ignore the output above. It makes absolutely no sense for LFS because the test program is built with not-yet-adjusted toolchain, i.e. against glibc in /tools. As you can see with readelf -l /tmp/test-prgXXXXXX, the interpreter is /tools/lib/ld-linux.so.2.
--
Alexander E. Patrakov
作者: cq007 发布时间: 2009-04-15
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28