免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2015 | 回复: 1
打印 上一主题 下一主题

安装mysql时出现错误提示:请指教! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-05-19 13:57 |只看该作者 |倒序浏览
系统:fedora 10
mysql:5.1.55
出现的错误提示如下:
./factorial 1 2 3 4 5 | cat > output1.r
./factorial -\#t 2 3 | cat >output2.r
./factorial -\#d:t 3 | cat >output3.r
./factorial -\#d,result 4 | cat >output4.r
./factorial -\#d:f,factorial:F:L 3 | cat >output5.r
nroff -mm user.r > user.t
groff -mm user.r > user.ps
make[1]: Leaving directory `/root/mysql-5.1.55/dbug'
Making all in extra
make[1]: Entering directory `/root/mysql-5.1.55/extra'
make  all-recursive
make[2]: Entering directory `/root/mysql-5.1.55/extra'
make[3]: Entering directory `/root/mysql-5.1.55/extra'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -g -O2   -DUNIV_LINUX -MT replace.o -MD -MP -MF .deps/replace.Tpo -c -o replace.o replace.c
mv -f .deps/replace.Tpo .deps/replace.Po
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link gcc  -g -O2   -DUNIV_LINUX  -rdynamic  -o replace replace.o -all-static ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm  -lpthread
libtool: link: gcc -g -O2 -DUNIV_LINUX -rdynamic -o replace replace.o -static  ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [replace] 错误 1
make[3]: Leaving directory `/root/mysql-5.1.55/extra'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/mysql-5.1.55/extra'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/mysql-5.1.55/extra'
make: *** [all-recursive] 错误 1

论坛徽章:
0
2 [报告]
发表于 2011-05-19 16:28 |只看该作者
/usr/bin/ld: cannot find -lz


看上去好像包安装不全,将yum 安装上全部的开发包吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP