#35929 [NEW]: Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1
| From: | die_uwe at ananzi dot co dot za | Date: | Sun, 08 Jan 2006 11:40:04 +0000 |
| Subject: | #35929 [NEW]: Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-91653@lists.php.net to get a copy of this message | ||
From: die_uwe at ananzi dot co dot za
Operating system: CentOS 4.1
PHP version: 5.1.1
PHP Bug Type: Compile Failure
Bug description: Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1
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 bug report at http://bugs.php.net/?id=35929&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35929&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35929&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35929&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35929&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35929&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35929&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35929&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35929&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35929&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35929&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35929&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35929&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35929&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35929&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35929&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35929&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35929&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35929&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35929&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35929&r=mysqlcfg