Re: createdb problem

From: jacques(at)aglaia(dot)museatech(dot)net
To: Eduardo <eduardo(at)complex(dot)com(dot)br>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: createdb problem
Date: 2000-11-21 15:43:51
Message-ID: 20001121104351.A10442@aglaia.museatech.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

This should probably be an faq (if it isn't already). PostgreSQL is not finding the libraries. If you add the following line to 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2000-11-21 15:44:39 Re: createdb problem
Previous Message JSanford 2000-11-21 14:29:38 isbn/issn