Subject Firebird and PHP
Author Paul Mercea
Hi all

I have installed FB2 on SuSE 9.2 .
I would like to use ibwebadmin 1.0.1 for fb database and I have no
interbase.so for that.
I downloaded PHP 5.1.2 and I try to compile :
./configure --with-interbase=shared,/opt/firebird

I get this error on screen:
checking for InterBase support... yes
checking for isc_detach_database in -lfbclient... no
checking for isc_detach_database in -lgds... no
checking for isc_detach_database in -lib_util... no
configure: error: libgds, libib_util or libfbclient not found! Check
config.log for more information.

In config log:

configure:49147: checking for isc_detach_database in -lfbclient
configure:49166: gcc -o conftest -I/usr/local/include -g -O2
-Wl,-rpath,/opt/firebird/lib -L/opt/firebird/lib -L/usr/local/lib
conftest.c -l
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlockattr_setkind_np'
/opt/firebird/lib/libfbclient.so: undefined reference to `pthread_create'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_getspecific'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlock_rdlock'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlock_init'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_key_delete'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_mutexattr_destroy'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlock_destroy'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlock_unlock'
/opt/firebird/lib/libfbclient.so: undefined reference to `pthread_detach'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_key_create'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlock_wrlock'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlockattr_init'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_rwlockattr_destroy'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_mutexattr_init'
/opt/firebird/lib/libfbclient.so: undefined reference to
`pthread_setspecific'
collect2: ld returned 1 exit status
configure: failed program was:
#line 49155 "configure"
#include "confdefs.h"
char isc_detach_database();
int main() {
isc_detach_database()
; return 0; }
configure:49292: checking for isc_detach_database in -lgds
configure:49311: gcc -o conftest -I/usr/local/include -g -O2
-Wl,-rpath,/opt/firebird/lib -L/opt/firebird/lib -L/usr/local/lib
conftest.c -l
/tmp/ccE9UxRa.o(.text+0xc): In function `main':
/kitt/php-5.1.2/configure:49307: undefined reference to
`isc_detach_database'
collect2: ld returned 1 exit status
configure: failed program was:
#line 49300 "configure"
#include "confdefs.h"
char isc_detach_database();

int main() {
isc_detach_database()
; return 0; }
configure:49437: checking for isc_detach_database in -lib_util
configure:49456: gcc -o conftest -I/usr/local/include -g -O2
-Wl,-rpath,/opt/firebird/lib -L/opt/firebird/lib -L/usr/local/lib
conftest.c -l
/tmp/ccCnWhnP.o(.text+0xc): In function `main':
/kitt/php-5.1.2/configure:49452: undefined reference to
`isc_detach_database'
collect2: ld returned 1 exit status
configure: failed program was:
#line 49445 "configure"
#include "confdefs.h"
char isc_detach_database();

int main() {
isc_detach_database()
; return 0; }

How can I solve these problem???
TIA
Paul