Hi,

i'm now trying to get firebird/interbase support for php running since 4 
hours

I tried every version from 4.3.3 to 5.0.4 and i am always getting an erorr 
message in the configure script.

Anyway version 4.3.1 does not report this error, and configure script works 
well but executing the make script runs into mysqllib problems maybe of 
compatiblity issues with my mysql version...

I installed latest Firebird 1.5 from rpm package, but also tried an earlier 
1.0 version. Didn't help anyway.
Its a Suse Enterprise Server 9 with Apache 2 installed. Everything works 
fine so far, except this.

I hope someone has some hints how to solve this.

Thanks in advance.
Jan

With 5.0.4:
===================================================================================================================
# ./configure --with-apx2 --with-interbase=/opt/firebird/ --with-mysql

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.
===================================================================================================================


config.log reports the following:
===================================================================================================================
configure:44970: checking for InterBase support
configure:45103: checking for isc_detach_database in -lfbclient
configure:45122: gcc -o 
conftest -g -O2  -Wl,-rpath,/opt/firebird//lib -L/opt/firebird//lib 
conftest.c -lfbclient  -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 
1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
skipping incompatible /opt/firebird//lib/libfbclient.so when searching 
for -lfbclient
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
skipping incompatible /usr/lib/libfbclient.so when searching for -lfbclient
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
cannot find -lfbclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 45111 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char isc_detach_database();

int main() {
isc_detach_database()
; return 0; }
configure:45232: checking for isc_detach_database in -lgds
configure:45251: gcc -o 
conftest -g -O2  -Wl,-rpath,/opt/firebird//lib -L/opt/firebird//lib 
conftest.c -lgds  -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 
1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
skipping incompatible /usr/lib/libgds.so when searching for -lgds
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
cannot find -lgds
collect2: ld returned 1 exit status
configure: failed program was:
#line 45240 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char isc_detach_database();

int main() {
isc_detach_database()
; return 0; }
configure:45361: checking for isc_detach_database in -lib_util
configure:45380: gcc -o 
conftest -g -O2  -Wl,-rpath,/opt/firebird//lib -L/opt/firebird//lib 
conftest.c -lib_util  -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm 
1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
skipping incompatible /opt/firebird//lib/libib_util.so when searching 
for -lib_util
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
skipping incompatible /usr/lib/libib_util.so when searching for -lib_util
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
 
cannot find -lib_util
collect2: ld returned 1 exit status
configure: failed program was:
#line 45369 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char isc_detach_database();

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

Reply via email to