Re: initdb & multibyte

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: source <source(at)celasmaya(dot)edu(dot)gt>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb & multibyte
Date: 2000-10-11 15:57:47
Message-ID: 23028.971279867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

source <source(at)celasmaya(dot)edu(dot)gt> writes:
> OK, now we get:
> /usr/local/pgsql/bin/pg_encoding: error in loading shared libraries:
> /usr/local/pgsql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
> initdb: pg_encoding failed

Ah. pg_char_to_encoding() is in libpq.so, but only if you built the
system with multibyte configure option selected. I'll bet that the
dynamic loader is finding a copy of libpq.so built without multibyte
support. Do you have another postgres installation on the machine?
(At least some linux distros ship with postgres libraries in /usr/lib)

You probably need to use ldconfig to tell the system about the location
of the newly installed postgres shared libs, and make sure those are in
front of the old ones in the loader search path.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adam Lang 2000-10-11 16:02:23 Re: ACRONYM
Previous Message Kurt Miller 2000-10-11 15:47:57 Re[2]: Pg.pm question