Subject Re: [firebird-php] Re: Fedora Core 1, PHP and Firebird 1.5
Author marius popa
fkieselbach wrote:
> --- In firebird-php@yahoogroups.com, "vengfulsquirrel"
> <ijwilson@k...> wrote:
>
>>--- In firebird-php@yahoogroups.com, Lester Caine <lester@l...>
>
> wrote:
>
>>>Which version of 1.5? Until the later releases the install
>>>location jumped around ;)
>>>I think that there are some notes on libgds in the install,
>>>but pressure of other work is preventing me running up the
>>>latest stuff - since my older setup is running fine :)
>>>
>>>rtcary wrote:
>>>
>>>
>>>>I am using Fedora Core 1 and I downloaded the php
>>>>source(php-4.3.3-6.src.rpm) after installing Firebird 1.5 I
>
> get an
>
>>>>error. This does not happen when I install Firebird 1.0.2
>
> (that is
>
>>>>installed at /opt/interbase).
>>>>
>>>>If I add
>>>>
>>>>--with-interbase=shared,/opt/firebird/lib/
>>>>
>>>>I get the error that it cannot find libgds or libib_util.
>>>>libib_util.so is in /opt/firebird/lib/. There is no libgds
>
> after
>
>>>>installing Firebird.
>>>>
>>>>What am I missing?
>>>
>>>--
>>>Lester Caine
>>>-----------------------------
>>>L.S.Caine Electronic Services
>>
>>I don't know if this is of any help, but I could never get php to
>>compile using the Super-Server. Where as I did get php to compile
>>using Classic-Server, it just has not worked. I also have only
>
> seen,
>
>>--with-interbase=shared,/opt/firebird WITHOUT noting the library
>
> (lib)
>
>>directory. Good luck. -Ian
>
>
> I have the same Problem, but not in ./configure --with-
> interbase=shared,/opt/firebird
> It works fine.
> When I do 'make' then i have this error:
>
> usr/local/php4/php-4.2.2/TSRM -g -O2 -o interbase.la -avoid-
> version -module -rpath /usr/local/php4/php-4.2.2/modules
> interbase.lo -R/opt/firebird/lib -L/opt/firebird/lib -lgds
> /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-
> linux/bin/ld: cannot find -lgds
> collect2: ld returned 1 exit status
> make[3]: *** [interbase.la] Error 1
>
> Regards Frank

as root type
ln -s /opt/firebird/lib/libfbclient.so.1.5.0 /usr/lib/libgds.so

and then try to run make again