Bug #71582 [Com]: ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64'
| From: | pwsdotru at gmail dot com | Date: | Fri, 28 Apr 2017 15:00:22 +0000 |
| Subject: | Bug #71582 [Com]: ext/pgsql/pgsql.c:3762: undefined reference to `lo_lseek64' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208836@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
Comment by: pwsdotru at gmail dot com
Reported by: cefull at gmail dot com
Summary: ext/pgsql/pgsql.c:3762: undefined reference to
`lo_lseek64'
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: CentOS7
PHP Version: 5.6.18
Block user comment: N
Private report: N
New Comment:
Had same errors when configure PHP with options
--with-pgsql=/usr/pgsql-9.4 --with-pdo-pgsql
Fixed when enter directory for each options
--with-pgsql=/usr/pgsql-9.4 --with-pdo-pgsql=/usr/pgsql-9.4
Previous Comments:
------------------------------------------------------------------------
[2016-02-28 04:22:26] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2016-02-20 15:15:49] ab@php.net
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.
------------------------------------------------------------------------
[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