Port Bug Report: Error when compiled with --enable-locale and --with-mb=LATIN2

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgreSQL(dot)org
Subject: Port Bug Report: Error when compiled with --enable-locale and --with-mb=LATIN2
Date: 1999-07-23 09:51:31
Message-ID: 199907230951.FAA99125@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Tomas Pluskal
Your email address : plusik(at)pohoda(dot)cz

Category : install: other
Severity : serious

Summary: Error when compiled with --enable-locale and --with-mb=LATIN2

System Configuration
--------------------
Operating System : Linux 2.2.9 ELF (RedHat 6.0)

PostgreSQL version : 6.5.1

Compiler used : egcs-2.91.66

Hardware:
---------
Pentium 150, 96 MB RAM

Versions of other tools:
------------------------
gmake 3.77, flex 2.5.4

--------------------------------------------------------------------------

Problem Description:
--------------------
I configured the version 6.5.1 with --enable-locale and --with-mb=LATIN2, make compile completed successfully, but the engine doesn't start, because the program pg_encoding doesn't work - when I run it myself as "pg_encoding <anything>" it says:
pg_encoding: error in loading shared libraries: pg_encoding: undefined symbol: pg_encoding_to_char
(I have added /usr/local/pgsql/lib to ld.conf and ran ldconfig)

--------------------------------------------------------------------------

Test Case:
----------
simply recompile 6.5.1 with --enable-locale and --with-mb=LATIN2

BTW why doesn't work --with-mb=WIN1250 even when he codepage WIN1250 is included in postgres ?

--------------------------------------------------------------------------

Solution:
---------
I tried to look in the sources, but I didn't find anything wrong :(

--------------------------------------------------------------------------

Browse pgsql-ports by date

  From Date Subject
Next Message Roger Mason 1999-07-23 11:00:05 Postgres regression fails completely
Previous Message Thomas Lockhart 1999-07-23 04:33:28 Re: [PORTS] RedHat6.0 & Alpha