|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24523 PHp don't compile with Ingres support
Submitted: 2003-07-07 15:41 UTC Modified: 2003-07-10 15:28 UTC
From: llp dot melin at free dot fr Assigned:
Status: Closed Package: Ingres II related
PHP Version: 4.3.2 OS: Mandrake 9.0
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: llp dot melin at free dot fr
New email:
PHP Version: OS:


 [2003-07-07 15:41 UTC] llp dot melin at free dot fr

I want to compile PHP 4.3.2 using the --with-ingres option on a Linux Mandrake 9.0.

I execute ./configure, it look's OK but when i do "make" , i have an error with the library libingres.a (mepages.o). The error is :

Problem with /home/ingres/lib/libingres.a (mepages.o): information 'IIMEget_pages':mepafes.o(.text+0x1e5):undefined reference to 'pthread_mutex_trylock'.

I'm using Ingres II 2.6 Networked Client version.

Thanks a lot for your help.

Best regards. Philippe


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-07 18:58 UTC]
Where did you get the ingres client? Don't you have there? Anyway, you can fix this quickly
by running configure like this: 

# LDFLAGS=-lpthread ./configure <your options>

 [2003-07-09 15:21 UTC] llp dot melin at free dot fr

I verify : i've but when i do make after configuring with : 
# LDFLAGS=-lpthread ./configure option1 .... --with-ingres
I've the same message as above.
Please help me.
Thanks a lot.
 [2003-07-09 15:51 UTC]
Did you delete config.cache before trying that? (I should have mentioned about it)

And where exactly did you get the client libraries..?

 [2003-07-10 15:28 UTC] llp dot melin at free dot fr

I add the option -lpthread in the EXTRA_LIBS of the Makefile and it's work.

Thanks a lot for you help.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 10:01:29 2024 UTC