Re: Library Error - Mailing list pgsql-novice

From Jacques Williams
Subject Re: Library Error
Date
Msg-id 20000710152406.A26654@jacqro3.jacqro.com
Whole thread Raw
In response to Library Error  ("Sokel, John" <jsokel@mdsi-usa.com>)
List pgsql-novice
Add this to your environment:

LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH

(lib doesnt need to be in $PATH, that's just for executables, this is a shared library)

Jacques Williams

On Fri, Jul 07, 2000 at 11:14:24AM -0500, 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?
>
> Any help would be appreciated.
>
> John Sokel

pgsql-novice by date:

Previous
From: Darrel Davis
Date:
Subject: Re: Library Error
Next
From: "Paul Skinner"
Date:
Subject: pg_TCL and COMMIT