#35929 [Opn->Bgs]: Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1
| From: | sniper@php.net | Date: | Sun, 08 Jan 2006 12:47:32 +0000 |
| Subject: | #35929 [Opn->Bgs]: Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91656@lists.php.net to get a copy of this message | ||
ID: 35929
Updated by: sniper@php.net
Reported By: die_uwe at ananzi dot co dot za
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: CentOS 4.1
PHP Version: 5.1.1
New Comment:
Don't submit stuff that isn't a a bug as bug reports.
Previous Comments:
------------------------------------------------------------------------
[2006-01-08 12:40:03] die_uwe at ananzi dot co dot za
Description:
------------
When compiling PHP5 with mysql + mysqli support you receive an
[libphp5.la] Error 1 on mysqlclient.a calling to duplicate defined
functions. See : bug #31182 for full description
I think this problem could be resolved by a tid supplied by thelinuxguy
on a forum.
Solution:
Run your configure line, edit the Makefile, find the following line:
EXTRA_LIBS = -lcrypt -lcrypt -lmysqlclient ...
Remove the last -lmysqlclient (there should be two)
Save the file and run:
#make
#make install
see the full tid @
http://www.webhostingtalk.com/archive/thread/392921-1.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35929&edit=1