On Wed, 2010-05-05 at 08:05 +0200, Gerd Koenig wrote:
> "$libdir/euc2004_sjis2004": No such file or directory
> STATEMENT: CREATE OR REPLACE FUNCTION euc_jis_2004_to_shift_jis_2004
> (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS
> '$libdir/euc2004_sjis2004', 'euc_jis_2004_to_shift_jis_2004' LANGUAGE
> C
> STRICT;
>
> child process exited with exit code 1
> initdb: removing contents of data directory "/var/lib/pgsql/9.0/data"
>
> ======================================================
>
> Where should the file "euc2004..." with this function "euc..." come
> from ..?
This is an known issue with alpha4 RPMs, and I fixed it in 2nd set:
http://svn.pgrpms.org/browser/rpm/redhat/9.0/postgresql/F-12/postgresql-9.0.spec#L758
A workaround is installing contrib package. Please install beta 1 RPMs.
They are available in the same repository. A mini howto is here:
http://people.planetpostgresql.org/devrim/index.php?/archives/43-How-to-install-PostgreSQL-9.0-Beta-1-to-FedoraCentOSRHEL.html
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz