Subject Compiling php_interbase.so on Suse Linux Enterprise 9 Opteron
Author Ian Wilson
Hello all,

Usually either the version of php just flat doesn't compile the
php_interbase.so or I am missing some obvious step. I think it could also be
that I am using dual AMD opteron processors.

So I have tried php-4.3.10 and php-4.3.4(<-- the last version I got to work)
with FirebirdCS-1.5.2.4731-0.(as well as FirebirdCS-1.0.3.972-0.64IO)

--output from ./configu_database in -lib_util... no
configure: error: libgdre --with-interbase=shared,/opt/firebird
checking for InterBase support... yes, shared
checking for isc_detach_database in -lgds... no
checking for isc_detach_database in -lib_util... no
configure: error: libgds or libib_util not found! Check config.log for more
information.
--
I have the libraries libgds.so in /lib/libgds.so and /usr/lib/libgds.so
and libib_util.so in /lib/libib_util.so and /usr/lib/libib_util.so


In the config.log there are these lines....

configure:42587: gcc -o conftest -g -O2 -Wl,-rpath,/opt/firebird/lib
-L/opt/firebird/lib conftest.c -lgds -lresolv -lm -ldl -lnsl 1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /lib/libgds.so when searching for -lgds
/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


So...as it seems it is finding the libraries I don't know what to do from
here?

Thanks in advance.

-Ian