error while loading shared libraries:libmysqlclient.so.18 错误

error while loading shared libraries:libmysqlclient.so.18错误

新手安装php的时候如果出现这种问题,解决办法很简单,就是查看你的mysql安装目录下/安装目录/lib/libmysqlclient.so.18是否存在,如果存在,那就做一个软链接到/usr/lib64/目录下

ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/lib64

上一篇:【linux排错】"error while loading shared libraries: xxx.so.x" 错误的原因和解决办法


下一篇:rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法