Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 1998 02:06:15 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        "Todd R. Butler" <todd@traksys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Postgres-6.3.2 
Message-ID:  <Pine.BSF.4.02.9808260205440.434-100000@thelab.hub.org>
In-Reply-To: <199808251804.OAA16586@mail.cduniverse.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Aug 1998, Todd R. Butler wrote:

> Hello,
> 
> 	Just finished compiling Postgres 6.3.2 on FreeBSD 2.2.6 without
> error.  I have also modified my ENV to :
> 
> $ env
> crt=24
> USER=postgres
> HOME=/usr/postgres
> PGLIB=/usr/local/pgsql/lib
> PAGER=more
> ENV=/usr/postgres/.shrc
> LOGNAME=postgres
> BLOCKSIZE=K
> TERM=ansi
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/postgres/bin:/usr/loc
> al/p
> gsql/bin
> SHELL=/bin/sh
> PGDATA=/usr/local/pgsql/data
> MANPATH=:/usr/local/pgsql/man
> EDITOR=vi
> 
> 	But when type initdb to init Postgres I receive the following errors:
> 
> $ initdb
> initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to
> creat
> e the template database.
> initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create
> the glo
> bal classes.
> initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based
> authenti
> cation control file.
> 
> ld.so failed: Can't find shared library "libpq.so.1.1"
> [: syntax error
> ld.so failed: Can't find shared library "libpq.so.1.1"
> ld.so failed: Can't find shared library "libpq.so.1.1"

	Either do an 'ldconfig -m <pgsql-lib-directory>' or a 'setenv
LD_LIBRARY_PATH <pgsql-lib-directory>' and you should be fine...

Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9808260205440.434-100000>