Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 1997 07:06:51 +1000
From:      Robert <robert@chalmers.com.au>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   [Fwd: pgsql-6.1 and FreeBSD. Problems.]
Message-ID:  <338F416B.295B@chalmers.com.au>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338F416B.295B>