Re: error while loading shared libraries: libpq++.so.4

From: Cliff Wells <logiplexsoftware(at)earthlink(dot)net>
To: Mark Tessier <mt(at)open2web(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error while loading shared libraries: libpq++.so.4
Date: 2002-06-26 16:48:41
Message-ID: 20020626094841.29458808.logiplexsoftware@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chad R. Larson 2002-06-26 17:38:49 Re: Missing or Erroneous pg_hba.conf file
Previous Message Tom Lane 2002-06-26 14:54:31 Re: Missing or Erroneous pg_hba.conf file