Re: PHP Install with Postgres support.

From: "J(dot)R(dot) Belding" <jrbelding(at)yahoo(dot)com>
To: Stuart Grimshaw <stuart(at)smgsys(dot)fsnet(dot)co(dot)uk>
Cc: Postgres-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PHP Install with Postgres support.
Date: 2000-06-22 16:39:47
Message-ID: 39524153.42FB6694@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stuart:

I had some problems as well, and I believe what I did is this:

edit /etc/ld.so.conf by appending "/usr/local/pgsql/lib" to the end of
the file

Then I believe you may have to run "ldconfig" (man ldconfig for help)

If this doesn't work, you may try adding the following to /etc/profile
(or the .bash_profile file in your home dir)

LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

You should modify the paths to point at the directory that contains the
pgsql library files on your system.

I'm a novice linux user, so I'm not sure what any of this does really.
But it seemed to work to get PHP installed with pgsql support.

Good Luck.

Stuart Grimshaw wrote:
>
> I know that this isn't strictly Postgres, but it is "generally" :-)
>
> I'm trying to install PHP with Postgres support, and it falls over because
> it can't find libpq-fe.so
>
> What is this file, I assume I need to rebuild Postgres with some option or
> other enabled (My install is from the V7 RPM's at the moment).
>
> I've tried the PHP install list, and as yet had no reply, but I'm hoping
> that some other Postgres User has had a similar problem.
>
> ---------------------------------------
> Stuart Grimshaw |
> Schoolsnet LTD |
> www.schoolsnet.com | Special
> | Projects
> tel: 07976 625221 | Developer
> icq: 509067 |
> yahoo: stuartgrimshaw |
> stuart(at)smgsys.fsnet.co.uk
> ---------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stuart Grimshaw 2000-06-22 16:46:38 Re: PHP Install with Postgres support.
Previous Message Tom Lane 2000-06-22 16:23:11 Re: Limits in subqueries...