I really do not know what it is, but have you tried this:

> bash-3.2$ initdb -D /var/lib/postgres/data/

Don't do this. Scrips /etc/rc.d/postgresql tries to setup cluster in first 
run.
Now, delete /var/lib/postgresql

> initdb: symbol lookup error: initdb: undefined symbol: pg_encoding_to_char

Did you have latest versions of postgresql? Make 'bash# pacman -Syu' or at 
least 'bash# pacman -Sy postgresql postgresql-libs'

Did you have at least locales:
en_US.UTF-8, en_US, de_DE.UTF-8, de_DE, [EMAIL PROTECTED] ?
If not, uncomment them in /etc/locale.gen and command 'bash# locale-gen'

Then, under root account, make 'bash# /etc/rc.d/postgresql start'


If nothing helps, try to init cluster in en_US.UTF-8 locale:
bash# su postgres
bash$ export LANG=en_US.UTF8
bash$ initdb -D /var/lib/postgres/data/



_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to