Building PHP/mysqli on x86-64
There is a bug either in php's build process or in the way it interprets options returned from mysql_config. Mysql_config returns the path to static libraries (/usr/lib64/mysql) while mysqli builds/links against the shared libs. Since they are in /usr/lib64 it can't find them. This can be fixed with a symlink though:
ln -s /usr/lib64/libmysqlclient.so /usr/lib64/mysql/libmysqlclient.so
September 17th, 2008 in
Uncategorized