Bug #73512 [Opn]: Compatibility with Firebird 3

From: Date: Mon, 14 Nov 2016 12:03:54 +0000
Subject: Bug #73512 [Opn]: Compatibility with Firebird 3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205356@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
 Updated 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:

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


Previous Comments:
------------------------------------------------------------------------
[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


Thread (8 messages)

« previous php.bugs (#205356) next »