Friday, September 10, 2010

php 5.3.3 skipping incompatible /usr/lib/mysql/libmysqlclient.so

If you having problem building php 5.3 on 64 bit Linux and getting some errors about
skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

You just need to specify the correct path to where the 64bit libs are for mysql

Do this before running ./configure:

export LDFLAGS=-L/usr/lib64/mysql

3 comments: