Subject Re: [firebird-php] php config error with option --with-interbase
Author Dariusz Zelichowski
I have FB and PHP 4.4 running under Mandrake 10 for almost two years now. No issues at all. It also seems to run fine uner Mandrake 10.1 and 10.2 (Mandriva2005), Red Hat 9.0 and Fedora 2.0 (over a year without problems). Suse 10 too, but this I have tried only recently. So far so good.

The fact though is that I could generate interbase.so under Mandrake 10 and Fedora 2 only. I can't quite generate it under other distros/versions, but the *.so I generated under Mandy 10 runs without issues under all the other distors I mentioned.

I can't get PHP5 to generate interbase.so under any distro I tried. I haven't tried Debian based distros though.

Do you run FB 1.5 (or 2.0) under Debian with PHP5?

Darren Thompson <dkthompson@...> wrote: there are issuses with firebird 1.5 and php on linux all i can say is
goodluck i wouldnt waste my time on trying to get it work i use debian there
is a package that is already made that one can use dont know if there is one
for fedora.

On 3/3/06, melvinhcox <melcox@...> wrote:
>
> [Main message previously posted to firebird-support]
>
> -------------------------------------------------------------
> Addendum:
>
> The syntax I am using is:
>
> ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --
> with-config-file-path=/wwwroot/php --with-
> interbase=shared,/opt/firebird
>
> The following segment is culled from the config.log:
>
> int main() {
> isc_detach_database()
> ; return 0; }
> configure:49437: checking for isc_detach_database in -lib_util
> configure:49456: gcc -o conftest -I/usr/include -g -O2 -Wl,-
> rpath,/opt/firebird/lib -L/opt/firebird/lib -L/usr/lib conftest.c -
> lib_util -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
> /usr/bin/ld: cannot find -lib_util
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 49445 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char isc_detach_database();
>
> int main() {
> isc_detach_database()
> ; return 0; }
>
> Note: The same behavior has been observed when attempting
> configuration using:
>
> --with-interbase=/usr/lib
>
> AND
>
> --with-interbase=/opt/firebird/lib
>
> -------------------------------------------------------------
>
> I am attempting to restore connectivity between an Apache based
> webserver and a remote Firebird 1.5.x database server using php. Both
> the client and server run under LINUX (Fedora Core).
>
> For reasons beyond my knowledge, I am unable to configure php5.x to
> use the --with-interbase option.
>
> -------------------------------------------------------------
>
> Error Message:
>
> configure: error: libgds, libib_util or libfbclient not found! Check
> config.log for more information.
>
> -------------------------------------------------------------
>
> FYI, my research shows a bug report (28750) for this problem was
> logged with the PHP Group in July of 2004.
>
> http://bugs.php.net/bug.php?id=28750
>
> The bug report was, however, rejected by the PHP Group with a
> notation that the problem was caused by 'broken interbase .so's'.
>
>
> BACKGROUND:
>
> I have successfully reinstalled an Apache 2.x webserver under a
> freshly installed Linux (Fedora Core 4) operating system. All
> current operating system patches have been applied.
>
> Following firebird.org's documentation for a client-only install
> under Linux, I have copied libfbclient.so.1.5.1 from the server
> machine's /opt/firebire/lib directory into the /usr/lib directory of
> the client machine.
>
> I have also created chained symlinks using the following commands:
>
> ln -s /usr/lib/libfbclient.so.1.5.1 /usr/lib/libfbclient.so.1
> ln -s /usr/lib/libfbclient.so.1 /usr/lib/libfbclient.so
> ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so.0
> ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so
>
> The firebird.msg file from the server installation has been copied to
> the /opt/firebird directory on the client machine.
>
> The FIREBIRD environment variable has been created on the client
> machine and ponted to /opt/firebird.
>
> Apache 2.x and PHP 5.x have been successfully installed and tested. I
> need now to add the --with-interbase extension.
>
> CONFIGURATION ERROR:
>
> In attempting to configure php to use the --with-interbase option, I
> have repeatedly hit the following error:
>
> configure: error: libgds, libib_util or libfbclient not found! Check
> config.log for more information.
>
> NEED:
>
> I have been unable to resolve or to workaround this problem. I've
> literally tried 'everything' (including twice reinstalling the
> operating system and all patches), over a 24+ hour period...
>
> I am deeply appreciative of any expert assistance that can be lent in
> resolving this issue (and educating this user).
>
> The previous installation done 2+ years ago, compiled without
> difficulty.
>
>
> Thanks....
>
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


[Non-text portions of this message have been removed]



SPONSORED LINKS
Membership database software Database mortgage software Pda database software Database management software Database marketing software Online database software

---------------------------------
YAHOO! GROUPS LINKS


Visit your group "firebird-php" on the web.

To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------





---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

[Non-text portions of this message have been removed]