LinuxSir.cn,穿越时空的Linuxsir!

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

LFS6.3 在6.46. Module-Init-Tools-3.2.2 make check时出错

[复制链接]
发表于 2009-5-27 20:11:02 | 显示全部楼层 |阅读模式
make  check-TESTS
make[1]: Entering directory `/sources/module-init-tools-3.2.2'
Building with --enable-zlib...
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [lsmod] Error 1
FAIL: tests/runtests
===================
1 of 1 tests failed
===================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/sources/module-init-tools-3.2.2'
make: *** [check-am] Error 2

如何解决
发表于 2009-5-31 10:44:50 | 显示全部楼层
Post by ariso;1991522
make  check-TESTS
make[1]: Entering directory `/sources/module-init-tools-3.2.2'
Building with [color="Red"]--enable-zlib...
[color="Red"]/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [lsmod] Error 1
FAIL: tests/runtests
===================
1 of 1 tests failed
===================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/sources/module-init-tools-3.2.2'
make: *** [check-am] Error 2

如何解决

zlib 未裝好?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-4 21:51:29 | 显示全部楼层
谢谢,重装zlib后一切顺利!
回复 支持 反对

使用道具 举报

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

本版积分规则

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