咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
1.在源码编译安装php5.2时在./configure步骤的时候出现如下错误:
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
2.通过查找find / -name “libmysqlclient*” 在目录/usr/lib64/mysql/目中有libmysqlclient.so.16.0.0,在编译php的时候默认会自动去/usr/lib目中进行查找,所以我们解决的办法就是:
cp /usr/lib64/mysql/* /usr/lib/mysql/