php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35929 Compile error: PHP5 MySQL mysqli -RESOLVED [libphp5.la] Error 1
Submitted: 2006-01-08 12:40 UTC Modified: 2006-01-08 13:47 UTC
From: die_uwe at ananzi dot co dot za Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.1 OS: CentOS 4.1
Private report: No CVE-ID: None
 [2006-01-08 12:40 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-08 13:47 UTC] sniper@php.net
Don't submit stuff that isn't a a bug as bug reports.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC