From: | Ron Fooij <r(dot)fooij(at)festura(dot)nl> |
---|---|
To: | pgsql-nl-algemeen(at)postgresql(dot)org |
Subject: | FATAL met initdb --locale=nl_NL.UTF-8 |
Date: | 2009-07-06 09:51:50 |
Message-ID: | A768B784-5F8D-415F-967A-D32D89869C22@festura.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-nl-algemeen |
Hallo,
Ik probeer Postgres 8.4 op OSX 10.5 te laten werken, maar krijg een
fout bij het gebruik van locales.
Hoop dat jullie een oplossing hebben.
De default initdb, zonder locales werkt wel.
Groet,
Ron.
aeolus:pgsql postgres$ /usr/local/pgsql/bin/initdb --
locale=nl_NL.UTF-8 --lc-monetary=nl_NL --lc-numeric=nl_NL --lc-
time=nl_NL -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locales
COLLATE: nl_NL.UTF-8
CTYPE: nl_NL.UTF-8
MESSAGES: nl_NL.UTF-8
MONETARY: nl_NL
NUMERIC: nl_NL
TIME: nl_NL
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "dutch".
fixing permissions on existing directory /usr/local/pgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 30
selecting default shared_buffers ... 2400kB
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... FATAL: could not load library "/usr/local/
pgsql/lib/cyrillic_and_mic.so": dlopen(/usr/local/pgsql/lib/
cyrillic_and_mic.so, 10): Symbol not found: _CurrentMemoryContext
Referenced from: /usr/local/pgsql/lib/cyrillic_and_mic.so
Expected in: /usr/local/pgsql/bin/postgres
STATEMENT: CREATE OR REPLACE FUNCTION koi8r_to_mic (INTEGER, INTEGER,
CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/
cyrillic_and_mic', 'koi8r_to_mic' LANGUAGE C STRICT;
child process exited with exit code 1
initdb: removing contents of data directory "/usr/local/pgsql/data"
aeolus:pgsql postgres$
From | Date | Subject | |
---|---|---|---|
Next Message | Koen Martens | 2009-07-06 15:07:55 | Re: FATAL met initdb --locale=nl_NL.UTF-8 |
Previous Message | Koen Martens | 2009-05-02 11:58:57 | Re: dit is een test |