Re: [HACKERS] pg_connect error

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To:
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] pg_connect error
Date: 2000-10-18 20:05:50
Message-ID: 002f01c0393e$d041c260$330a0a0a@6014cwpza006
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I don't think that is it. It has been a while, but I thought if you didn't
compile php with psql, it returned an "undefined function" error.

By the way... I just found out a little bit ago that the pgsql-php list is
still alive. :)

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Travis Bauer" <trbauer(at)indiana(dot)edu>
To: "Brian Edginton" <edge(at)aros(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, October 18, 2000 2:28 PM
Subject: Re: [GENERAL] [HACKERS] pg_connect error

>
> 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
> >

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Walta 2000-10-18 20:14:31 plpgsql - cache lookup error 18977
Previous Message Rob Hutton 2000-10-18 19:44:38 Need info on 7.1 and synchronization for big project

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-10-18 21:13:21 Re: pgsql/doc (FAQ_MSWIN INSTALL_MSWIN)
Previous Message Oliver Elphick 2000-10-18 19:46:34 Re: INHERITS doesn't offer enough functionality