Compile problem.
| From: | Serge Paquin | Date: | Sat, 22 Mar 2003 06:21:24 +0000 |
| Subject: | Compile problem. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140670@lists.php.net to get a copy of this message | ||
Hello,
I am just upgrading to mySQL 4. As per the recommendation at www.mysql.com I am recompiling
programs that link against the mysql client. When I try to compile PHP-4.3.1 I get many many lines
similar to:
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_request_file':
net.o(.text+0x918): multiple definition of `net_request_file'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x918): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_init':
net.o(.text+0xa90): multiple definition of `my_net_init'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xa90): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_end':
net.o(.text+0xb68): multiple definition of `net_end'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb68): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_clear':
net.o(.text+0xb8c): multiple definition of `net_clear'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb8c): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_flush':
net.o(.text+0xbf8): multiple definition of `net_flush'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xbf8): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_write':
net.o(.text+0xc3c): multiple definition of `my_net_write'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xc3c): first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
What is going wrong? I did a make clean first. My current compiled PHP seems to be working find
and talked to the database but I am concerned that I am unable to recompile PHP.
I've search the archives and google and have come up with nothing. Any help is appriciated.
Thanks,
Serge.