Обсуждение: Error during Installation of postgresql-nls-string-8.02.

Поиск
Список
Период
Сортировка

Error during Installation of postgresql-nls-string-8.02.

От
"Praveen Kumar \(TUV\)"
Дата:

Hello,

When I try to install postgresql-nls-string-8.02 in postgresql-8.2.5 or in higher version ,it give the following error.

 

ERROR:  incompatible library "/home/local/pgsql/lib/nls_string.so": missing magic block

HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.

ERROR:  incompatible library "/home/local/pgsql/lib/nls_string.so": missing magic block

HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.

 

Can anybody tell me what steps I should follow to avoid such type of error during installation of nls_string-8.02 in postgresql-8.2.5 or in higher version ?

 

 

Re: Error during Installation of postgresql-nls-string-8.02.

От
Tom Lane
Дата:
"Praveen Kumar \(TUV\)" <praveen.k@renaissance-it.com> writes:
> When I try to install postgresql-nls-string-8.02 in postgresql-8.2.5 or
> in higher version ,it give the following error.

> ERROR:  incompatible library "/home/local/pgsql/lib/nls_string.so":
> missing magic block

You need an up-to-date version of postgresql-nls-string.  In general,
loadable modules always have to be recompiled (at least) for each new
major PG release.

            regards, tom lane