php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30336 Config error with option --with-interbase
Submitted: 2004-10-06 13:37 UTC Modified: 2004-12-21 10:16 UTC
From: ova at tkvc dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.2 OS: RH Linux 7.3+FireBird SQL 1.5.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: ova at tkvc dot ru
New email:
PHP Version: OS:

 

 [2004-10-06 13:37 UTC] ova at tkvc dot ru
Description:
------------
While try to configure PHP 5.0.2 with Interbase support (I have FireBird 1.5.1(classic) installed) under Red Hat Linux 7.3 running 
./configure --with-interbase =/opt/firebird 
results an error like 
  libgds, libib_util or libfbclient not found! Check config.log for more information.

Config.log tells that 
/opt/firebird/libfbclient.so: undefined reference to 'pthread_create'
and some more lines about undefined references to pthread_* functions

I solved this problem by changing ./configure script.
Found the string 
   LIBS="-lfbclient $LIBS"
and modify it like
   LIBS="-lfbclient -lpthread $LIBS"
After this a configuring works OK.

Than in Makefile I did almoust the same -
include 
  -lpthread
in
EXTRALIBS='...'
parameter

And than 
  make install
runs fine.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-21 10:16 UTC] sniper@php.net
Don't compile firebird client libs with pthread (threading..)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 08:01:29 2024 UTC