Re: PG_MODULE_MAGIC lost if strip the object file - Mailing list pgsql-general

From Tom Lane
Subject Re: PG_MODULE_MAGIC lost if strip the object file
Date
Msg-id 12186.1215540692@sss.pgh.pa.us
Whole thread Raw
In response to PG_MODULE_MAGIC lost if strip the object file  (Michael Enke <michael.enke@wincor-nixdorf.com>)
List 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 by date:

Previous
From: Asche
Date:
Subject: Re: Hi there, new here and have question
Next
From: aravind chandu
Date:
Subject: predefined animation and pre-recorded sounds in postgresql