PHP5 compilation problems with MySQL and MySQLi support.

From: Date: Fri, 23 Jul 2004 15:15:37 +0000
Subject: PHP5 compilation problems with MySQL and MySQLi support.
Groups: php.install 
Request: Send a blank email to php-install+get-13970@lists.php.net to get a copy of this message
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.

« previous php.install (#13970) next »