Rodolfo Gonzalez Gonzalez wrote:
Hello,

I'm trying to install PHP5 with --with-mysql and --with-mysqli in a Linux
box with MySQL 4.1.3. The relevant config options are:

--with-mysqli=/usr/bin/mysql_config \
--with-mysql=/usr \

The last errors are:

...
...
: multiple definition of `net_write_command'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x350): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xa60): In function
`my_net_read':
: multiple definition of `my_net_read'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xa60): first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


(all the errores are caused by "multiple definition"'s, just they're too many to include them in the e-mail :) ).

From the manual I understand that PHP5 can be installed with both MySQL
and MySQLi support... how can this be achieved?, any help is appreciated.

Regards,
Rodolfo.
I'm seeing similar errors, but noone seems to have a solution.

Anyone?

Reply via email to