ID: 48868 Updated by: mbecc...@php.net Reported By: martti at aplcomp dot fi -Status: Open +Status: Feedback Bug Type: PostgreSQL related Operating System: Ubuntu 9.04 , x64 PHP Version: 5.3.0 -Assigned To: +Assigned To: mbeccati New Comment:
It looks like there's something wrong on your system. For somewhat reason the configure script did pass the test for lo_import_with_oid (added in 8.4), but when compiling and linking an old version of libpq is used. Could you please identify what versions of the headers and libpq are installed on your system? E.g. locate libpq-fe.h locate libpq.so It also would be useful to know if they were installed from a Ubuntu package or compiled by you. Previous Comments: ------------------------------------------------------------------------ [2009-07-09 13:02:52] martti at aplcomp dot fi Description: ------------ "make" produces fatal error when configured to use --with-pgsql Reproduce code: --------------- ext/pgsql/.libs/pgsql.o: In function `zif_pg_lo_import': /data/APLCOMP/temp/php-5.3.0/ext/pgsql/pgsql.c:3381: undefined reference to `lo_import_with_oid' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Expected result: ---------------- compiled php.so Actual result: -------------- fatal error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48868&edit=1