Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 15:03:09 -0400
From:      "Todd R. Butler" <todd@traksys.com>
To:        <freebsd-database@FreeBSD.ORG>
Subject:   Fw: Postgres-6.3.2 
Message-ID:  <199808251902.PAA17044@mail.cduniverse.com>

next in thread | raw e-mail | index | archive | help


----------
> From: Todd R. Butler <todd@traksys.com>
> To: freebsd-questions@FreeBSD.ORG
> Subject: Postgres-6.3.2 
> Date: Tuesday, August 25, 1998 2:04 PM
> 
> 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"
> [: 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
> ERROR:  pg_atoi: error in "f": can't parse "f"
> ERROR:  pg_atoi: error in "f": can't parse "f"
> Segmentation fault - core dumped
> initdb: could not create template database
> initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1
> 
> Please Help :-)
> 
> Thanks in Advance.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808251902.PAA17044>