LFS-6.3 Chapter6.9 Glibc在make install的时候出错
时间:2008-10-25
来源:互联网
lfslivecd-x86-6.3-r2145.iso
在第二次安装glibc的时候
运行make install,结果出现错误
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
该怎么解决呢?
谢谢!
作者: scutan 发布时间: 2008-10-25
工具链调整部分都已经核实安装无误?
作者: lofeng410 发布时间: 2008-10-25
sed -i \ 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \ scripts/test-installation.pl
-Wl 写成了 -W1 ?
作者: scutan 发布时间: 2008-10-25
作者: lofeng410
直接用脚本的?
工具链调整部分都已经核实安装无误? |
-Wl 看成了-W1了.
那我现在怎么办? 重新编译一次glibc吗?
作者: scutan 发布时间: 2008-10-25
作者: scutan
难道是在
代码:
sed -i \ 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \ scripts/test-installation.pl -Wl 写成了 -W1 ? |
我是按照手册中来的 是没有问题的
BTW:俺太菜,看不懂那个脚本,只好找简单容易明白的来
作者: lofeng410 发布时间: 2008-10-25
作者: scutan
我是手动敲的命令. 好像就是把
-Wl 看成了-W1了. 那我现在怎么办? 重新编译一次glibc吗? |
作者: lofeng410 发布时间: 2008-10-25
作者: lofeng410
这个我就不清楚了,但是Wl,那个l是字母
我是按照手册中来的 是没有问题的 BTW:俺太菜,看不懂那个脚本,只好找简单容易明白的来 |
作者: scutan 发布时间: 2008-10-25
作者: 红头猪 发布时间: 2008-10-27
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28