#30336 [Opn->Bgs]: Config error with option --with-interbase
| From: | sniper@php.net | Date: | Tue, 21 Dec 2004 09:16:45 +0000 |
| Subject: | #30336 [Opn->Bgs]: Config error with option --with-interbase | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70810@lists.php.net to get a copy of this message | ||
ID: 30336
Updated by: sniper@php.net
Reported By: ova at tkvc dot ru
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: RH Linux 7.3+FireBird SQL 1.5.1
PHP Version: 5.0.2
New Comment:
Don't compile firebird client libs with pthread (threading..)
Previous Comments:
------------------------------------------------------------------------
[2004-10-06 13:37:02] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30336&edit=1