Bug #73512 [Com]: Compatibility with Firebird 3
| From: | remi@php.net | Date: | Mon, 14 Nov 2016 12:42:32 +0000 |
| Subject: | Bug #73512 [Com]: Compatibility with Firebird 3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205358@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73512&edit=1
ID: 73512
Comment by: remi@php.net
Reported by: remi@php.net
Summary: Compatibility with Firebird 3
Status: Open
Type: Bug
Package: InterBase related
Operating System: Fedora 26
PHP Version: 7.1.0RC6
Block user comment: N
Private report: N
New Comment:
@Joe: would you have time to review attached patch ?
(I'd like to apply it 7.1 before 7.1.0 GA)
Previous Comments:
------------------------------------------------------------------------
[2016-11-14 12:41:27] remi@php.net
The following patch has been added/updated:
Patch Name: use-fb-config.patch
Revision: 1479127287
URL: https://bugs.php.net/patch-display.php?bug=73512&patch=use-fb-config.patch&revision=1479127287
------------------------------------------------------------------------
[2016-11-14 12:03:52] remi@php.net
BTW, I think we have an issue with config.m4 which does not use fb_config output.
And hard-coded values are not (always) correct: (see previous comment)
if test "$PHP_INTERBASE" = "yes"; then
IBASE_INCDIR=/opt/firebird/include
IBASE_LIBDIR=/opt/firebird/lib
else
IBASE_INCDIR=$PHP_INTERBASE/include
IBASE_LIBDIR=$PHP_INTERBASE/$PHP_LIBDIR
fi
------------------------------------------------------------------------
[2016-11-14 11:33:51] remi@php.net
# fb_config --cflags
-I/usr/include/firebird
# fb_config --libs
-L/usr/lib64 -lfbclient
# fb_config --version
3.0.1.32609-0.amd64
I'm still investigating (it seems libfbclient.so is missing...)
------------------------------------------------------------------------
[2016-11-14 08:07:40] krakjoe@php.net
Can we get some more information:
krakjoe@fiji:/usr/src/php-src$ /opt/firebird/bin/fb_config --version
3.0.1.32609-0.amd64
krakjoe@fiji:/usr/src/php-src$ sapi/cli/php -nm
[PHP Modules]
...
PDO
PDO_Firebird
...
krakjoe@fiji:/usr/src/php-src$ sapi/cli/php -nv
PHP 7.2.0-dev (cli) (built: Nov 13 2016 21:41:50) ( ZTS DEBUG )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
------------------------------------------------------------------------
[2016-11-14 06:18:33] remi@php.net
Description:
------------
It seems we cannot build anymore interbase and pdo_firebird against firebird 3.x
checking for Firebird support... yes, shared
checking for isc_detach_database in -lfbclient... no
checking for isc_detach_database in -lgds... no
checking for isc_detach_database in -lib_util... no
configure: error: libfbclient, libgds or libib_util not found! Check config.log for more
information.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73512&edit=1