Subject Re: [firebird-php] Compiling on Suse Linux Enterprise 9 Opteron
Author Ian Wilson
On Friday 11 February 2005 22:47, Alan McDonald wrote:
> I am using Suse(Suse Linux Enterprise 9 on dual amd opterons) should I
> 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 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
SUSE LINUX ENTERPRISE VERSION 9(the commercial version of the suse operating
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- well as FirebirdCS-

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
--end output

I have the libraries in /lib/ and /usr/lib/
and in /lib/ and /usr/lib/

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
skipping incompatible /lib/ when searching for -lgds
skipping incompatible /usr/lib/ when searching for -lgds
cannot find -lgds 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.