Date: 07/18/98
- Next message: Bug Database: "[PHP-DEV] Bug #445 Updated: failure to locate file 'libpq-fe.h'"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Next in thread: Egon Schmid: "Re: [PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest)"
- Reply: Egon Schmid: "Re: [PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Bug Database: "[PHP-DEV] Bug #445 Updated: failure to locate file 'libpq-fe.h'"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3/functions"
- Next in thread: Egon Schmid: "Re: [PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest)"
- Reply: Egon Schmid: "Re: [PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

