以前一直用mysql-5.25+php5.3.14编译安装lnmp,没出过问题,最近升级了一下
php-5.3.27 + mysql-5.5.36,先装了mysql,后安装php的时候报了个错,
checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information.

很是郁闷,找了一下,发现是要我重新编译mysql,并把-DENABLE_DTRACE=0这项加进mysql的编译cmake参数里面。
记录一下,怕以后再碰到。

转载于:http://blog.chinaunix.net/uid-26204366-id-4153826.html