veryad 发表于 2011-3-5 18:15:54

请教管理员,在centos 5上安装lnmp 0.6 ,mysql无法使用

#mysql -u root -p
mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
#mysqladmin -u root -p
mysqladmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory


连续安装几次都是如此。不知是何原因?


出问题的是photon的vps。
burst上安装倒是一点问题都没有。

licess 发表于 2011-3-5 20:49:57

回复 1# 的帖子

先执行下面的命令:
wget -O /usr/lib64/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0_64/libmysqlclient.so.15
chmod 755 /usr/lib64/libmysqlclient.so.15
ldconfig
试试
你装的photonvps的那个centos?
CentOS-5 32bit
CentOS-5 64bit       
CentOS-5 Devel 64bit

veryad 发表于 2011-3-6 00:49:34

CentOS-5 64bit with webmin 没成功

后来装了 5.5 with gnome,成功了。。。
页: [1]
查看完整版本: 请教管理员,在centos 5上安装lnmp 0.6 ,mysql无法使用