Bug #71582 [Opn->Fbk]: ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64'

From: Date: Sat, 20 Feb 2016 15:15:53 +0000
Subject: Bug #71582 [Opn->Fbk]: ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199357@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71582&edit=1 ID: 71582 Updated by: ab@php.net Reported by: cefull at gmail dot com Summary: ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64' -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: CentOS7 PHP Version: 5.6.18 Block user comment: N Private report: N New Comment: Hi, sounds like some configure issue. These symbols are available since Postgres 9.3. Is there any older installation in the default paths, it will take precedence. What does the relevant configure part tell? Thanks. Previous Comments: ------------------------------------------------------------------------ [2016-02-13 11:58:45] cefull at gmail dot com Description: ------------ When I compile php-5.6.18 from source code, I encountered this In function `zif_pg_lo_seek': /usr/local/src/php-5.6.18/ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64' ext/pgsql/.libs/pgsql.o: In function `zif_pg_lo_tell': /usr/local/src/php-5.6.18/ext/pgsql/pgsql.c:3794: undefined reference to `lo_tell64' ext/pgsql/.libs/pgsql.o: In function `zif_pg_lo_truncate': /usr/local/src/php-5.6.18/ext/pgsql/pgsql.c:3824: undefined reference to `lo_truncate64' collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I'm using postgresql-9.4.5 (also compile from source code). Expected result: ---------------- compile complete Actual result: -------------- fatal error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71582&edit=1

« previous php.bugs (#199357) next »