Re: Library Error

From: Jacques Williams <jacques(at)jacqro(dot)COM>
To: "Sokel, John" <jsokel(at)mdsi-usa(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Library Error
Date: 2000-07-10 19:24:06
Message-ID: 20000710152406.A26654@jacqro3.jacqro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Manuel Sugawara 2000-07-10 19:29:03 Re: order by accents?
Previous Message Darrel Davis 2000-07-10 19:10:00 Re: Library Error