Re: error while loading shared libraries: libpq++.so.4 - Mailing list pgsql-admin

From Cliff Wells
Subject Re: error while loading shared libraries: libpq++.so.4
Date
Msg-id 20020626094841.29458808.logiplexsoftware@earthlink.net
Whole thread Raw
In response to error while loading shared libraries: libpq++.so.4  (Mark Tessier <mt@open2web.com>)
List pgsql-admin
On Tue, 25 Jun 2002 17:09:53 -0400
Mark Tessier wrote:

> I get a "Method Not Allowed" when posting to a c++ script from an html page.
After much tweaking, I finally did a ./login.cgi and got the following:
>
> ./login.cgi: error while loading shared libraries: libpq++.so.4: cannot load
shared object file: No such file or directory
>
> To remedy the problem, I went into /etc/profile and added the following:
>
> LD_LIBRARY_PATH=/usr/local/psql/lib
>
> This didn't work either, so does anyone have any idea how I can get my
libraries to work

Since you're on Linux, try editing /etc/ld.so.conf and adding the appropriate
path and then run ldconfig (as root).


--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Missing or Erroneous pg_hba.conf file
Next
From: "Chad R. Larson"
Date:
Subject: Re: Missing or Erroneous pg_hba.conf file