Subject Re: [firebird-support] Root-Server Firebird PHP
Author Yves Glodt
On Thursday 11 December 2003 13:35, fkieselbach wrote:
> Hello,
> i have a problem.
> I have a root-server (Suse 8.1, PHP 4.2.2) and i will use
> firebird with php.
>
> I have install firebird and create my database
> with tables and data. It works (isql).
>
> In the first step i will use firebird with the interbase.so.
> I do this:
> ./configure --with-interbase=shared,/opt/firebird
>
> This is ok
> Then i do:
> make
>
> .
> .
> Making all in interbase
> make[2]: Entering directory `/usr/local/php4/php-4.2.2/ext/interbase'
> make[3]: Entering directory `/usr/local/php4/php-4.2.2/ext/interbase'
> /bin/sh /usr/local/php4/php-4.2.2/libtool --silent --mode=link gcc -
> I. -I/usr/local/php4/php-4.2.2/ext/interbase -I/usr/local/php4/php-
> 4.2.2/main -I/usr/local/php4/php-4.2.2 -I/usr/include/apache -
> I/usr/local/php4/php-4.2.2/Zend -I/opt/firebird/include -
> I/usr/local/php4/php-4.2.2/ext/mysql/libmysql -I/usr/local/php4/php-
> 4.2.2/ext/xml/expat -DEAPI_MM -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 -
> DDYNAMIC_MODULE_LIMIT=128 -DSSL_EXPERIMENTAL_PERDIRCA_IGNORE -
> DSSL_EXPERIMENTAL_PROXY_IGNORE -DLINUX=22 -DMOD_SSL=208110 -DEAPI -
> I/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
> make[3]: Leaving directory `/usr/local/php4/php-4.2.2/ext/interbase'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/php4/php-4.2.2/ext/interbase'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/php4/php-4.2.2/ext'
> make: *** [all-recursive] Error 1
>
> i see an error, but i dont now what i must do.

well I have not compiled php for a long time now (thanks debian;), but
it seems that the directory where libgds resides is not being included.
Try adding this configure option

--with-interbase-libraries=/usr/lib (or wherever libgds is)

or like this (check the syntax with ./configure --help, I recall this
from memory....)
--with-extra-libs=/usr/lib

GrĂ¼sse,
Yves

> Can anybody help me?
>
> Thank you.
>
> Frank
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~--> Buy Ink Cartridges or Refill Kits for your
> HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders
> $50 or more to the US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/67folB/TM
> ---------------------------------------------------------------------
>~->
>
> To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/

--
Linux 2.4.22-1-k7 #1 Sat Sep 6 02:13:04 EST 2003 i686
20:01:40 up 36 min, 1 user, load average: 0.22, 0.30, 0.22