Re: PHP Install with Postgres support. - Mailing list pgsql-general

From J.R. Belding
Subject Re: PHP Install with Postgres support.
Date
Msg-id 39524153.42FB6694@yahoo.com
Whole thread Raw
In response to PHP Install with Postgres support.  ("Stuart Grimshaw" <stuart@smgsys.fsnet.co.uk>)
List 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
> ---------------------------------------


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Limits in subqueries...
Next
From: "Stuart Grimshaw"
Date:
Subject: Re: PHP Install with Postgres support.