Topic: PHP 5.3.6 with pgsql errors - PQescapeByteaConn
Trying to install PHP with pgsql on RHEL4 (32bit) system. Packages install fine, but when using PHP, I get errors with "undefined symbol: PQescapeByteaConn in Unknown on line 0"
[root@myvdx RHEL4-RPMs-famillecollet.com]# rpm -ivh php-5.3.6-1.el4.remi.i386.rpm php-cli-5.3.6-1.el4.remi.i386.rpm php-common-5.3.6-1.el4.remi.i386.rpm php-pdo-5.3.6-1.el4.remi.i386.rpm php-pgsql-5.3.6-1.el4.remi.i386.rpm sqlite-3.3.6-2.i386.rpm
warning: php-5.3.6-1.el4.remi.i386.rpm: V3 DSA signature: NOKEY, key ID 00f97f56
warning: sqlite-3.3.6-2.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
Preparing... ########################################### [100%]
WARNING : This php-* RPM are not official Fedora/Redhat build and
overrides the official ones. Don't file bugs on Fedora Project nor Redhat.
Use dedicated forums http://forums.famillecollet.com/
1:php-common ########################################### [ 17%]
2:php-cli ########################################### [ 33%]
3:sqlite ########################################### [ 50%]
4:php-pdo ########################################### [ 67%]
5:php ########################################### [ 83%]
6:php-pgsql ########################################### [100%]
[root@myvdx RHEL4-RPMs-famillecollet.com]#
[root@myvdx RHEL4-RPMs-famillecollet.com]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_pgsql.so' - /usr/lib/php/modules/pdo_pgsql.so: undefined symbol: PQescapeByteaConn in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - /usr/lib/php/modules/pgsql.so: undefined symbol: PQescapeByteaConn in Unknown on line 0
PHP 5.3.6 (cli) (built: Mar 17 2011 20:03:59)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
[root@myvdx RHEL4-RPMs-famillecollet.com]#
[root@myvdx RHEL4-RPMs-famillecollet.com]# uname -a
Linux myvdx 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux
[root@myvdx RHEL4-RPMs-famillecollet.com]#
Also tried installing php-5.3.5-1.el4.remi.1.i386.rpm group of RPMs, but receive the same errors.
Anyone have the same issue, or a resolution?
--Gord.