Fw: Missing Shared Libraries
----- Original Message -----
From: keith
To: pgsql-general-owner@postgresql.org
Sent: Wednesday, March 14, 2001 3:51 PM
Subject: Missing Shared Libraries
I have finally got PostgreSQL running on a Red Hat Linux machine, mostly because of the help of some kind people on this mailing list.
Next question please. When I try and run /usr/local/pgsql/bin/psql or /usr/local/pgsql/bin/createdb test I get an error that says:
"error in loading shared libraries: libpq.so.2.1: cannot open shared object file: No such file or directory"
The file is located at /usr/local/pgsql/lib/libpq.so.2.1 so I don't understand.
Any ideas?
Thanks all, this fixed my problem and off I go again.
----- Original Message -----
From: J.H.M. Dassen (Ray) <jdassen@cistron.nl>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, March 14, 2001 1:36 AM
Subject: [GENERAL] Re: Fw: Missing Shared Libraries
Show quoted text
[Please drop the HTML - this is a mailing list, not the web]
keith <keith@gmetech.com> wrote:
I get an error that says:
"error in loading shared libraries: libpq.so.2.1: cannot open shared
object= file: No such file or directory"The file is located at /usr/local/pgsql/lib/libpq.so.2.1 so I don't
underst= and.The dynamic loader doesn't automagically search through the entire
filesystem for libraries. You need to tell it where your libraries are:
- add '/usr/local/pgsql/lib/' to '/etc/ld.so.conf'
- run 'ldconfig'.HTH,
Ray
--
I think the most important thing about Linux is that it gives people the
ability to do what they want.
Alan Cox in http://www2.linuxjournal.com/articles/culture/012.html---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly