From:             ova at tkvc dot ru
Operating system: RH Linux 7.3+FireBird SQL 1.5.1
PHP version:      5.0.2
PHP Bug Type:     Compile Failure
Bug description:  Config error with option --with-interbase

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 bug report at http://bugs.php.net/?id=30336&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30336&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30336&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30336&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30336&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30336&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30336&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30336&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30336&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30336&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30336&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30336&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30336&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30336&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30336&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30336&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30336&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30336&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30336&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30336&r=mysqlcfg

Reply via email to