Re: Library Error

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Sokel, John" <jsokel(at)mdsi-usa(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Library Error
Date: 2000-07-11 10:57:23
Message-ID: 200007111057.e6BAvNc21099@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Sokel, John" wrote:
>I just installed PostgreSQL on a Linux machine and it seems to run fine.
>However, I cannot do anything to it since I get the following error message
>everytime I run any program (except initdb, that worked):
>
>psql: error in loading shared libraries: libpq.so.2.1: cannot open shared
>object
> file: No such file or directory
>
>The file does exist in the /usr/local/pgsql/lib directory, I do have
>permissions for it, and I put lib in my path, yet it still complains. Is
>there a .conf file parameter missing somewhere? A configure param?

You need to run ldconfig to tell the system where to find it. (Read the
man page for detailed instructions.)

Alternatively, make sure that LD_LIBRARY_PATH includes /usr/local/pgsql/lib,
and is exported in your environment.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"I waited patiently for the LORD; and he inclined unto
me, and heard my cry. He brought me up also out of an
horrible pit, out of the miry clay, and set my feet
upon a rock, and established my goings. And he hath
put a new song in my mouth, even praise unto our God.
Many shall see it, and fear, and shall trust in the
LORD." Psalms 40:1-3

Browse pgsql-novice by date

  From Date Subject
Next Message John Burski 2000-07-11 20:52:55 Perl Procedural Language Install
Previous Message D. Duccini 2000-07-11 02:05:08 RE: Perl and pg_dump