Compilation problem with PHP5 and MySQL 4.1

From: Date: Thu, 22 Jul 2004 19:28:47 +0000
Subject: Compilation problem with PHP5 and MySQL 4.1
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-191559@lists.php.net to get a copy of this message
Hi, I know that this should go to the php-inst ml, but I can not resubscribe (the error in the P.S.). I'm trying to install PHP 5 + MySQL 4.1.3 in Apache 1.3 and I'm getting these messages: (tons of "first defined" messages before", just pasted a sample below) ... /usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x260): first defined here /usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x350): In function `net_write_command': : 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 I have installed MySQL from RPM's built from the official SRPMs. Any help is appreciated. Rodolfo. P.S. the ml subscription system in php.net is failing due to this: Warning: fsockopen(): php_hostconnect: connect failed in /local/Web/sites/phpweb/include/posttohost.inc on line 29 Warning: fsockopen(): unable to connect to master.php.net:80 in /local/Web/sites/phpweb/include/posttohost.inc on line 29 We were unable to subsribe you due to some technical problems. Please try again later.

« previous php.general (#191559) next »