Re: [HACKERS] pg_connect error - Mailing list pgsql-general

From Larry Rosenman
Subject Re: [HACKERS] pg_connect error
Date
Msg-id 20001018190703.A25818@lerami.lerctr.org
Whole thread Raw
In response to Re: [HACKERS] pg_connect error  (Travis Bauer <trbauer@indiana.edu>)
List pgsql-general
And, is the postmaster started with -i?
* Travis Bauer <trbauer@indiana.edu> [001018 13:49]:
>
> When you compiles php, did you ./configure with --with-pgsql?  If you did
> not compile php explicitly telling it to includ pgsql support, it probably
> didn't.
>
> Travis
>
> Brian Edginton (edge@aros.net) wrote:
>
> >
> >
> > 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
> >

--
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-general by date:

Previous
From: mark
Date:
Subject: Hash Indexes Causing Deadlock Notices
Next
From: Tom Lane
Date:
Subject: Re: Hash Indexes Causing Deadlock Notices