ID: 48868 Comment by: z6x0a57 at gmail dot com Reported By: martti at aplcomp dot fi Status: No Feedback Bug Type: PostgreSQL related Operating System: Ubuntu 9.04 , x64 PHP Version: 5.3.0 Assigned To: mbeccati New Comment:
Version 5.3.0: ext/pgsql/.libs/pgsql.o: In function `zif_pg_lo_import': /path/ext/pgsql/pgsql.c:3381: undefined reference to `lo_import_with_oid' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Version 5.2.10: Build complete. Don't forget to run 'make test'. Previous Comments: ------------------------------------------------------------------------ [2009-07-29 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-07-21 07:29:23] mbecc...@php.net 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. ------------------------------------------------------------------------ [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