runtime error PHP with PostgreSQL on Apache and OpenBSD undefined symbol _PQconnectdb

From: Date: Sun, 25 May 2003 18:51:32 +0000
Subject: runtime error PHP with PostgreSQL on Apache and OpenBSD undefined symbol _PQconnectdb
Groups: php.install 
Request: Send a blank email to php-install+get-10962@lists.php.net to get a copy of this message
Hi there! I'm having troubles compiling PHP for Apache with PostgreSQL support on OpenBSD 3.3: ./configure --with-apxs --with-pgsql=/usr/local/pgsql make make install "apachectl start" works fine, but PHP-call 'pg_connect ( "host=openbsd-home dbname=testdb");' produces an error in Apache's error_log: /usr/libexec/ld.so: Undefined symbol "_PQconnectdb" called from httpd:/usr/lib/apache/modules/libphp4.so at 0x4039c95c location of libpq.so is shown in "ldconfig -r", seems ok. Can anybody help me, maybe You had the same problem? Thanks a lot!

« previous php.install (#10962) next »