Re: Antwort: [PHP-INST] runtime error PHP with PostgreSQL on Apache and OpenBSD undefined symbol _PQconnectdb
| From: | Gerhard | Date: | Mon, 26 May 2003 06:11:08 +0000 |
| Subject: | Re: Antwort: [PHP-INST] runtime error PHP with PostgreSQL on Apache and OpenBSD undefined symbol _PQconnectdb | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10964@lists.php.net to get a copy of this message | ||
I compiled PHP version 4.1.1 (I must use the old one) with PostgreSQL v7.1.3, sorry for my unprecise information before.
In the meantime I found out there is maybe a problem with libtool in PHP v4.1.1, using libtool from PHP 4.3.1 corrects this error (I'm quite unsure if it's ok to
use this version of libtool), but connecting to the database fails, error is:
Warning: Unable to connect to PostgreSQL server: could not connect to server: Operation timed out
Is the server running on host localhost and accepting
TCP/IP connections on port 5432?
but postmaster is running with -i and listening, connect over TCP/IP (with psql) is working fine.
Thank You very much!
:-) Gerhard
On Mon, 26 May 2003 06:16:04 +0200, Thomas Sinka <thomas.sinka@it- choice.de> wrote:
Hi, which version of php did you compile ? Regards, Thomas =============================================== Thomas Sinka mobil: +49 163 3 23 12 72 mailto: thomas.sinka@it-choice.de An: php-install@lists.php.net Kopie: Blindkopie:-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/Thema: [PHP-INST] runtime error PHP with PostgreSQL on Apache andOpenBSD undefined symbol _PQconnectdb @ 25.05.2003 20:51 ZE2 <font size=-1></font> 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! -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php