From owner-freebsd-questions Tue Aug 25 22:07:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09687 for freebsd-questions-outgoing; Tue, 25 Aug 1998 22:07:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from thelab.hub.org (nat0118.mpoweredpc.net [142.177.188.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09682 for ; Tue, 25 Aug 1998 22:07:11 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.1/8.8.8) with SMTP id CAA16225; Wed, 26 Aug 1998 02:06:15 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Wed, 26 Aug 1998 02:06:15 -0300 (ADT) From: The Hermit Hacker To: "Todd R. Butler" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Postgres-6.3.2 In-Reply-To: <199808251804.OAA16586@mail.cduniverse.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ' or a 'setenv LD_LIBRARY_PATH ' 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