Re: Problem compiling PHP 5 with MySQLi (64bit)

[email protected] ((Tiago Freitas Leal))
Newsgroups php.install
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.