Friday, December 12, 2008

Error with PHP and Mysql

skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

Seems that this errors come because of incompatibility between i386 and x64.

# cd /usr/lib/mysql
# ln -s ../../lib64/mysql/libmysqlclient.so

If this do not works, you can patch the Makefile to use the x64 version of the
libraries instead of the x32:

# sed -i -e 's@-L/usr/lib/mysql@-L/usr/lib64/mysql@g' Makefile


0 comentarios: