#33813 [NEW]: PHP won't build with PostgreSQL < 7.4
| From: | dseg at shield dot jp | Date: | Fri, 22 Jul 2005 02:28:04 +0000 |
| Subject: | #33813 [NEW]: PHP won't build with PostgreSQL < 7.4 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82304@lists.php.net to get a copy of this message | ||
From: dseg at shield dot jp
Operating system: LINUX
PHP version: 5.1.0b3
PHP Bug Type: Compile Failure
Bug description: PHP won't build with PostgreSQL < 7.4
Description:
------------
PHP-5.1.0b3 won't build with PostgreSQL < 7.4.
The reason for this is that the ext/pgsql/pgsql.c use the PQfreemem
function which is only available in PostgreSQL 7.4 or later.
Reproduce code:
---------------
configure --with-pgsql
Expected result:
----------------
It should build
Actual result:
--------------
ext/pgsql/.libs/pgsql.o: In function `zif_pg_unescape_bytea':
ext/pgsql/.libs/pgsql.o(.text+0x3c2c): undefined reference to `PQfreemem'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
--
Edit bug report at http://bugs.php.net/?id=33813&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33813&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33813&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33813&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33813&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33813&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33813&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33813&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33813&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33813&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33813&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33813&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33813&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33813&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33813&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33813&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33813&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33813&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33813&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33813&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33813&r=mysqlcfg