[PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest) From: Bug Database (php-dev <email protected>)
Date: 07/18/98

ID: 444
Updated by: zeev
Reported By: james <email protected>
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:

Looks like you're compiling PHP with a set of PostgreSQL headers from one release (6.3.x) and linking with libraries from another release
(6.1.x). The libpq library from PostgreSQL 6.3 contains PQsetdbLogin:

15:21 bourbon-ttya6 bourbon:~/php3/cgi> nm /usr/local/pgsql/lib/libpq.a | grep PQsetdbLogin
00000410 T PQsetdbLogin

About PHP compiled using PostgreSQL 6.1 not working with a 6.3 server - that's the PostgreSQL's guys "fault". It's not really a fault
since I don't think they ever said it's supposed to work - the communications protocol probably changed in both 6.2 and 6.3.
Needing to recompile and relink with the new headers and libraries isn't rare.

Full Bug description available at: http://ca.php.net/bugs.php3?id=444