I guess the "lib not found" error is because you didn't specify the "mysql_config_path"

Quoting the manual...

To install the mysqli extension for PHP, use the --with-mysqli=mysql_config_path/mysql_config configuration option where mysql_config_path represents the location of the mysql_config program that comes with MySQL versions greater than 4.1.

/unquote

Sascha Noethen wrote:

Hi,

I am trying to compile PHP 5 with mysqli support:

../configure --with-mysqli

The result is an error message and I cannot find out how to avoid this
error message:

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.

I am using PHP 5.0.2 and MySQL 4.1.7 for Intel EM64T.

Any hint what I can try?

Sascha

Reply via email to