VPS侦探论坛

 找回密码
 注册
查看: 6101|回复: 7

安装报错,不成功,日志上传到附件,谢谢

[复制链接]
发表于 2013-1-16 15:22:33 | 显示全部楼层 |阅读模式

系统: centos 6.3   64bit安装不成功,请军哥和各位看看 谢谢。
日志有100多K ,所以压缩了下

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-1-16 16:41:38 | 显示全部楼层


看日志是
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [mysqld] 错误 1
像是没libz导致的
updatedb后loacte libz看看有没有
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-1-16 17:44:55 | 显示全部楼层

# updatedb
# loacte libz
-bash: loacte: command not found

貌似不能找到
后来一看是军哥的字母打反了 呵呵是 locate吧

[ 本帖最后由 ericolen 于 2013-1-16 17:55 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-1-16 17:51:31 | 显示全部楼层



# locate libz
/lib64/libz.so.1
/lib64/libz.so.1.2.3
/usr/java/jdk1.6.0_34/jre/lib/amd64/libzip.so
/usr/lib64/libz.so
/usr/lib64/libzip.so
/usr/lib64/libzip.so.1
/usr/lib64/libzip.so.1.0.0
/usr/lib64/compiz/libzoom.so
/usr/lib64/pkgconfig/libzip.pc
/usr/lib64/purple-2/libzephyr.so
/usr/local/oracle/product/10201/jdk/jre/lib/i386/libzip.so
/usr/local/oracle/product/10201/jre/1.4.2/lib/i386/libzip.so
/usr/local/oracle/product/10201/lib/libzx10.a
/usr/local/oracle/product/10201/lib32/libzx10.a
/usr/share/doc/libzip-0.9
/usr/share/doc/libzip-0.9/AUTHORS
/usr/share/doc/libzip-0.9/NEWS
/usr/share/doc/libzip-0.9/README
/usr/share/doc/libzip-0.9/THANKS
/usr/share/doc/libzip-0.9/TODO
/usr/share/man/man3/libzip.3.gz
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/checksum_data
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/checksum_type
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/command_line
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/from_repo
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/from_repo_revision
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/installed_by
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/reason
/var/lib/yum/yumdb/l/da5e3b5a1014507c4b6ccd7736560fc9d2357fe7-libzip-devel-0.9-3.1.el6-x86_64/releasever
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/checksum_data
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/checksum_type
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/command_line
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/from_repo
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/from_repo_revision
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/installed_by
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/reason
/var/lib/yum/yumdb/l/e580133590064498cb53bc8d3657389450d29a47-libzip-0.9-3.1.el6-x86_64/releasever
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-1-16 18:51:37 | 显示全部楼层

ln -s /lib64/libz.so.1 /lib/
ln -s /lib64/libz.so.1.2.3 /lib/
ln -s /usr/lib64/libz.so /lib/
后再重新安装试试或mysql安装目录make试试

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2013-1-17 09:53:23 | 显示全部楼层

重新安装还是不行,新上传了重新安装日志 见附件,mysql目录Make 如下报错
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[3]: *** [mysqld] 错误 1
make[3]: Leaving directory `/root/lnmp0.9-full/mysql-5.1.60/sql'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/lnmp0.9-full/mysql-5.1.60/sql'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/lnmp0.9-full/mysql-5.1.60/sql'
make: *** [all-recursive] 错误 1

[ 本帖最后由 ericolen 于 2013-1-17 12:01 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2013-1-17 12:38:43 | 显示全部楼层

还是一样的错误,换个32位的试试或换个发行版
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-1-17 15:26:44 | 显示全部楼层

服务器换系统就麻烦了,后来我全部把相关的包都给卸载了,然后手动编译安装弄好了,折磨了2天。。。 下次装低的版本不至于搞死人了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 22:41 , Processed in 0.029023 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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