From: Gregory S. Williamson <gsw@globexplorer.com>
To: shreedhar <shreedhar@lucidindia.net>
To: Joe Conway <mail@joeconway.com>
Cc: Postgre Admin <pgsql-admin@postgresql.org>
Cc: Postgre General <pgsql-general@postgresql.org>
Subject: Re: [GENERAL] Call to undefined function: pg_connect()
Date: Thu, 7 Aug 2003 00:33:35 -0700
Message-ID: <71E37EF6B7DCC1499CEA0316A25683280105701B@loki.globexplorer.com> (raw)
I don't have a clue about which is which, but I bet providing some dates (ls -l) would help figuring out which is the most recent vs. oldest) ... might provide helpful information to people who know more about compiling this beast.
Greg Williamson
-----Original Message-----
From: shreedhar [mailto:shreedhar@lucidindia.net]
Sent: Thu 8/7/2003 12:13 AM
To: Joe Conway
Cc: Postgre Admin; Postgre General
Subject: Re: [GENERAL] [ADMIN] Call to undefined function: pg_connect()
/usr/lib/libpq.so.2
/usr/lib/libpq.so.2.0
/usr/lib/libpq.so.2.2
/usr/lib/libpq.so
I have the above versions of libpq.so in my system. Which I have to use.
Suppose it might have to chage any config files where I should change.
Thanks alot,
With best regards,
Sreedhar
----- Original Message -----
From: "Joe Conway" <mail@joeconway.com>
To: "shreedhar" <shreedhar@lucidindia.net>
Cc: "Postgre Admin" <pgsql-admin@postgresql.org>; "Postgre General"
<pgsql-general@postgresql.org>
Sent: Thursday, August 07, 2003 10:24 AM
Subject: Re: [GENERAL] [ADMIN] Call to undefined function: pg_connect()
> shreedhar wrote:
> > Hi All,
> >
> > I Updated my Postgresql Server from 7.2.4 which came along with RH7.3 to
> > 7.3.2. After updating I could not able to connect database through PHP.
So I
> > recompiled PHP4.1.2 (same version which have earlier in my system), even
> > then I am not able to connect through PHP. Is there any other package
has to
> > be installed for this connection.
>
> If I remember correctly, this is because libpq.so changed from
> libpq.so.2 to libpq.so.3. Is there an old copy of libpq.so.2 hanging
> around that is getting linked with instead of libpq.so.3? Did you re-run
> configure and do a `make clean` on PHP before rebuilding it? If you are
> really desperate, try creating a libpq.so.2 symlink from libpq.so.3.
>
> HTH,
>
> Joe
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gsw@globexplorer.com, shreedhar@lucidindia.net, mail@joeconway.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] Call to undefined function: pg_connect()
In-Reply-To: <71E37EF6B7DCC1499CEA0316A25683280105701B@loki.globexplorer.com>
References: <71E37EF6B7DCC1499CEA0316A25683280105701B@loki.globexplorer.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox