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