From owner-freebsd-questions Fri May 30 14:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA08648 for questions-outgoing; Fri, 30 May 1997 14:10:03 -0700 (PDT) Received: from mackay01.cqit.qld.edu.au (root@cqit.qld.edu.au [203.22.80.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA08615 for ; Fri, 30 May 1997 14:10:00 -0700 (PDT) Received: from 203.1.96.26.chalmers.com.au (remote2.cqit.qld.edu.au [203.22.80.21]) by mackay01.cqit.qld.edu.au (8.7.3/8.6.9) with SMTP id HAA22492 for ; Sat, 31 May 1997 07:08:15 +1000 (EST) Message-ID: <338F416B.295B@chalmers.com.au> Date: Sat, 31 May 1997 07:06:51 +1000 From: Robert Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 3.0 (Win95; I) MIME-Version: 1.0 To: freebsd-questions Subject: [Fwd: pgsql-6.1 and FreeBSD. Problems.] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Robert wrote: > Running FreeBSD 2.2-SNAP. Is this an ld.o thing, or a pgsql thing? > I have jsut done a compile and make on the latest v-6.1 from the > ftp site, and although it compiles through to the end, and says it > completes without error, I get the following when doing the "initdb" > > ps. I do have all the Environment vairables like PGLIB etc set. > Everything > is in the right place and so on; Any help will be appreciated! > > ================== > 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.0" > [: syntax error > ld.so failed: Can't find shared library "libpq.so.1.0" > ld.so failed: Can't find shared library "libpq.so.1.0" > [: syntax error > We are initializing the database system with username postgres (uid=). > This user will own all the files and must also own the server process. > > initdb: creating template database in > /usr/local/pgsql/data/base/template1 > Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 > WARN:pg_atoi: error in "f": can't parse "f" > Segmentation fault > initdb: could not create template database > initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1 > $ > ==================== > > Thanks > Bob > -- > http://www.chalmers.com.au Books-New & Secondhand Support Whirled Peas. > Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS. > Books about China, books from China. Sheng huo jiu shi dou zheng > Business Links in Dalian, and Beijing. Building the China Trade -- http://www.chalmers.com.au Books-New & Secondhand Support Whirled Peas. Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS. Books about China, books from China. Sheng huo jiu shi dou zheng Business Links in Dalian, and Beijing. Building the China Trade