Re: encoding problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: encoding problem
Дата
Msg-id 24967.1025185239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на encoding problem  ("Fouad Fezzi" <fezzi@iup.univ-avignon.fr>)
Список pgsql-hackers
"Fouad Fezzi" <fezzi@iup.univ-avignon.fr> writes:
> i just upgrading postgres from 7.0 to 7.2 and i have the folowing error in
> configuration process
> what happen ? how to fix this problem ?

> Enter default encoding (SQL_ASCII):
> Now installing the PostgreSQL database files in /var/lib/postgres/data
> su - postgres -c cd /var/lib/postgres; . ./.profile; LANG= initdb --encoding
> SQL_ASCII --pgdata /var/lib/postgres/data
> /usr/lib/postgresql/bin/pg_encoding: relocation error:
> /usr/lib/postgresql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
> initdb: pg_encoding failed

I think that you configured 7.2 with multibyte support but that the old
7.0 installation didn't have it, and for some reason the dynamic linker
is trying to bind the old libpq.so instead of the new one.  Check where
you've installed the library, check ldconfig path, etc.
        regards, tom lane




В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Postgres idea list
Следующее
От: Tim Hart
Дата:
Сообщение: Re: Support (was: Democracy and organisation)