|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-07-18 08:27 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 13:00:01 2025 UTC |
Following an identical procedure PHP fails to compile if referring to the includes for the latest version of postgreSQL. Its fine with earlier PostgreSQL versions though... gcc -DLINUX=2 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0\" `./apaci` \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -Lmodules/php3 -L../modules/php3 -lmodphp3 -lgdbm -lm -ldl -L/usr/local/pgsql/lib -lpq modules/php3/libphp3.a(pgsql.o): In function `php3_pgsql_do_connect': /root/php-3.0/functions/pgsql.c:248: undefined reference to `PQsetdbLogin' /root/php-3.0/functions/pgsql.c:274: undefined reference to `PQsetdbLogin' /root/php-3.0/functions/pgsql.c:321: undefined reference to `PQsetdbLogin' make[2]: *** [target_static] Error 1 I see no reason why a binary compiled with an earlier version of postgres would fail to access a newer posgres database but this may cause a problem I am unaware of... It's definitely bugging! Cheers!