php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
Description:
------------
Hi,

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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-07 18:58 UTC] sniper@php.net
Where did you get the ingres client? Don't you have libiiapi.1.so 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
Hi,

I verify : i've libiiapi.1.so 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.
Philippe
 [2003-07-09 15:51 UTC] sniper@php.net
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
Hi,

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

Thanks a lot for you help.

Philippe
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC