Re: Fw: Missing Shared Libraries
Christopher Sawtell <csawtell@xtra.co.nz>
From: Christopher Sawtell <csawtell@xtra.co.nz>
To: "keith" <keith@gmetech.com>, <pgsql-general@postgresql.org>
Date: 2001-03-14T09:54:52Z
Lists: pgsql-general
On Thu, 15 Mar 2001 13:11, keith wrote: > ----- 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 libpq.so.2.1 so I don't > understand. Any ideas? As the root user you have added the directory name /usr/local/pgsql/lib/ as a single line to the file /etc/ld.so.conf and then run the command ldconfig havn't you? -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ xtra . co . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -->> Please refrain from using HTML or WORD attachments in e-mails to me <<--