Re: PG_MODULE_MAGIC lost if strip the object file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Enke <michael(dot)enke(at)wincor-nixdorf(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PG_MODULE_MAGIC lost if strip the object file
Date: 2008-07-08 18:11:32
Message-ID: 12186.1215540692@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Enke <michael(dot)enke(at)wincor-nixdorf(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message aravind chandu 2008-07-08 18:44:22 predefined animation and pre-recorded sounds in postgresql
Previous Message Charles Simard 2008-07-08 17:13:55 Re: Hi there, new here and have question