Re: [HACKERS] pg_connect error

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Brian Edginton <edge(at)aros(dot)net>, pgsql-general(at)postgresql(dot)org
Cc: edge(at)aros(dot)net
Subject: Re: [HACKERS] pg_connect error
Date: 2000-10-19 00:07:03
Message-ID: 20001018190703.A25818@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

And, is the postmaster started with -i?
* Travis Bauer <trbauer(at)indiana(dot)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(at)aros(dot)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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-10-19 01:49:56 Re: Hash Indexes Causing Deadlock Notices
Previous Message Chris Carbaugh 2000-10-18 23:24:46 How to back up large objects?

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Pilosov 2000-10-19 02:24:04 Re: time stops within transaction
Previous Message Mikheev, Vadim 2000-10-18 21:42:57 RE: AW: AW: Backup, restore & pg_dump