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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: die_uwe at ananzi dot co dot za
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 05:00:03 2025 UTC