Re: PG_MODULE_MAGIC lost if strip the object file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG_MODULE_MAGIC lost if strip the object file
Дата
Msg-id 12186.1215540692@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PG_MODULE_MAGIC lost if strip the object file  (Michael Enke <michael.enke@wincor-nixdorf.com>)
Список pgsql-general
Michael Enke <michael.enke@wincor-nixdorf.com> writes:
> I create a dynamic library with the PG_MODULE_MAGIC under Linux.
> No problem in normal situation, but if I strip the .o file,
> that information seems to get lost and I get:
> ERROR:  incompatible library "...so": missing magic block
> TIP:  Extension libraries are required to use the PG_MODULE_MAGIC macro.

Don't strip global symbols.

            regards, tom lane

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

Предыдущее
От: Asche
Дата:
Сообщение: Re: Hi there, new here and have question
Следующее
От: aravind chandu
Дата:
Сообщение: predefined animation and pre-recorded sounds in postgresql