Errors when Compiling PHP 5.2.9

#1
Dear Sirs,

I'm trying to update my PHP version to the latest from the LiteSpeed Web Console but i'm getting this error:

checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
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.

Code:
This is the configure parameters: --libdir=/usr/lib64 --with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv
I'm under CentOS 5.2 64 Bits.

What can be the problem?

Thanks! :)
 
Top