[HACKERS] pg_connect error

From: Brian Edginton <edge(at)aros(dot)net>
To: pgsql-hackers(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org
Subject: [HACKERS] pg_connect error
Date: 2000-10-18 17:35:13
Message-ID: 8skn0h$mvn$1@news.aros.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I'm trying to use the php/postgresql interface via my apache server.
When I try and load a page containing:

<?php $db = pg_connect( "database=mydb owner=me" )
or die ( "could not connect" ) ?>

(both the database and owner are valid and tested via psql)

apache complains:
/usr/libexec/ld.so: Undefined symbol "_PQconnectdb" called from httpd:/usr/lib/apache/modules/libphp4.so at 0x4030a394

I have verified through ldconfig that libpq.so.2.0 is being loaded into hints,
what am I missing?

Thanks,
edge

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-10-18 17:46:46 Re: A couple of pgsql questions
Previous Message Jack V Chung 2000-10-18 16:48:55 A couple of pgsql questions

Browse pgsql-hackers by date

  From Date Subject
Next Message Travis Bauer 2000-10-18 18:28:37 Re: [HACKERS] pg_connect error
Previous Message Tom Lane 2000-10-18 17:28:52 Re: Re: pg_dump docs