Re: [GENERAL] PG_MODULE_MAGIC lost if strip the object file

2008-07-11 Thread Michael Enke
Alvaro Herrera wrote: Michael Enke wrote: Hi list, 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

Re: [GENERAL] PG_MODULE_MAGIC lost if strip the object file

2008-07-08 Thread Tom Lane
Michael Enke <[EMAIL PROTECTED]> 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 lib

Re: [GENERAL] PG_MODULE_MAGIC lost if strip the object file

2008-07-08 Thread Alvaro Herrera
Michael Enke wrote: > Hi list, > 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