Skip site navigation (1) Skip section navigation (2)

Re: Installation trouble -- oops

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installation trouble -- oops
Date: 2005-10-29 02:18:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Steve Crawford wrote:

>I'm having difficulty installing 8.0.4. Server is SuSE 8.2 without PG 
>installed. However some client libraries are Yast installed due to 
>dependency reconciliation.
>I'm doing the standard install (./configure, make, make install) and 
>have created the postgres user and appropriate data directory but 
>when I run:
Sorry I hit send before I was ready. If you used the exact command above 
everything will be in /usr/local/pgsql ... Which means from the below it 
looks like
you have more then one install of PostgreSQL.


/usr/local/pgsql/bin/initdb --no-locale -D /var/lib/pgsql/data


Joshua D. Drake

>initdb /var/lib/pgsql/data
>I get:
>initdb: file "/usr/share/postgres.bki" does not exist
>This means you have a corrupted installation or identified
>the wrong directory with the invocation option -L.
>initdb -L /usr/local/pgsql/share/ /var/lib/pgsql/data
>Looks pretty good at first but fails at:
>creating conversions ... FATAL:  could not access file 
>"$libdir/ascii_and_mic": No such file or directory
>Reports from pg_config:
>--libdir:  /usr/lib
>--bindir: /usr/bin
>--configure: -blank-
>--includedir-server: /usr/include/server
>--includedir: /usr/include
>--pgxs: /usr/lib/pgxs/src/makefiles/
>--pkglibdir: /usr/lib
>Note, the directories shown for libdir, bindir, includedir and such 
>are not where the files were actually installed.
>Now I could just start shuffling files around till things work but 
>since I've installed/upgraded many PG installations without this 
>difficulty I suspect there is something basic that I'm missing that 
>is causing all of the trouble. Suggestions?
>---------------------------(end of broadcast)---------------------------
>TIP 6: explain analyze is your friend

The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG -

In response to


pgsql-general by date

Next:From: Bricklen AndersonDate: 2005-10-29 03:12:24
Subject: Re: mysql replace in postgreSQL?
Previous:From: Joshua D. DrakeDate: 2005-10-29 02:16:43
Subject: Re: Installation trouble

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group