Re: libperl.so - Mailing list pgsql-general

From Lamar Owen
Subject Re: libperl.so
Date
Msg-id 398C8BD3.C8438E63@wgcr.org
Whole thread Raw
In response to libperl.so  (Ron Peterson <rpeterson@wallacefloyd.com>)
Responses Re: libperl.so  (Alex Pilosov <alex@pilosoft.com>)
List pgsql-general
Charles Tassell wrote:
> There is also a way to recompile a .a library into a shared
> library.  Something like:

> ar x library.a
> ld -shared -o library.so *.o

But a shared lib is _supposed_ to be compiled with position-independent
code with -fPIC -- otherwise you are just asking for trouble to simply
relink in this way.  It may work for you (as it does for me with
pl/perl, and for Karl DeBisschop), but it is highly unlikely it will
work for everyone, and it is likely to cause performance issues even if
it does work.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

pgsql-general by date:

Previous
From: tc lewis
Date:
Subject: Re: libperl.so
Next
From: Radoslaw Stachowiak
Date:
Subject: foreign keys