Subject | RE: [firebird-php] Compiling php_interbase.so on Suse Linux Enterprise 9 Opteron |
---|---|
Author | Alan McDonald |
Post date | 2005-02-12T07:56:51Z |
On Friday 11 February 2005 22:47, Alan McDonald wrote:
system, ie not suse linux professional or suse linux personal)
2 AMD OPTERONS(the 64 bit 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)
I run the command from the php directory:
./configure --with-interbase=shared,/opt/firebird
Here is the output:
--start output
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.
--end output
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 but doesn't like them I don't
know what to do from here?(Do I need special libraries for the opteron?)
Thanks in advance.
-Ian
[Alan McDonald] I don't know for sure but it does smell like a 64 bit
problem to me. what about I send you a 32 bit .so file and you can try it?
Alan
[Non-text portions of this message have been removed]
> I am using Suse(Suse Linux Enterprise 9 on dual amd opterons) should ISUSE LINUX ENTERPRISE VERSION 9(the commercial version of the suse operating
> still use these Mandrake rpms or was that for Alan's test machine?
>
> Firebird is running fine, or at least I can connect with isql but I just
> can't
> compile php_interbase.so because ./configure
> --with-interbase=shared,/opt/firebird errors outs.....
>
> Has anyone gotten it to work on Suse and with what versions of suse,
> firebird
> and php??
>
> Thanks.
>
> -Ian
>
> [Alan McDonald] what's the error?
> Alan
>
>
system, ie not suse linux professional or suse linux personal)
2 AMD OPTERONS(the 64 bit 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)
I run the command from the php directory:
./configure --with-interbase=shared,/opt/firebird
Here is the output:
--start output
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.
--end output
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 but doesn't like them I don't
know what to do from here?(Do I need special libraries for the opteron?)
Thanks in advance.
-Ian
[Alan McDonald] I don't know for sure but it does smell like a 64 bit
problem to me. what about I send you a 32 bit .so file and you can try it?
Alan
[Non-text portions of this message have been removed]