Re: createdb problem - Mailing list pgsql-novice

From jacques@aglaia.museatech.net
Subject Re: createdb problem
Date
Msg-id 20001121104351.A10442@aglaia.museatech.net
Whole thread Raw
In response to createdb problem  (Eduardo <eduardo@complex.com.br>)
List pgsql-novice
This should probably be an faq (if it isn't already). PostgreSQL is not finding the libraries. If you add the following
lineto your environment, it should go away: 

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

(or in csh):

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

HTH

Jacques Williams

On Tue, Nov 21, 2000 at 11:45:55AM -0200, Eduardo wrote:
> I just instaled the version 7.0.3 on a FreeBSD.
>
> i made :
>
> ./configure
> gmake
> gmake install
> adduser postgres
> su -postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
>
> and the postmaster started with no problems,but:
>
> when i tryied  :
> /usr/local/pgsql/bin createdb test
>
> I got an error:
>
> /usr/libexec/ld-elf.so.1: Shared object "libpq.so.2" not found
>
> What to do?
>
> Thanks
>   Eduardo

pgsql-novice by date:

Previous
From: JSanford@usbid.com
Date:
Subject: isbn/issn
Next
From: Tom Lane
Date:
Subject: Re: createdb problem