Provided that you are running CentOS 6 with cPanel and try to compile a new PHP using easyApache, you might run into the following (or similar) error:
“/usr/local/bin/php: relocation error: /usr/local/bin/php: symbol zlibVersion, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference”
It happened to me today and I’ve spent quite some time checking what eventually got wrong. It turned our that the stock CentOS mysql libs conflicts with mySQL-devel package from cPanel. The solution was to remove the libs package and re-install it (by force) using the cPanel package:







