From: | Alex Pilosov <alex(at)pilosoft(dot)com> |
---|---|
To: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
Cc: | Charles Tassell <ctassell(at)isn(dot)net>, Ron Peterson <rpeterson(at)wallacefloyd(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: libperl.so |
Date: | 2000-08-06 06:03:13 |
Message-ID: | Pine.BSO.4.10.10008060202050.4362-100000@spider.pilosoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Yeah, openbsd ld/ld.so for example will bitch and moan when its asked to
do this. (nonPIC code loaded as so). So this is to be used as last resort.
On Sat, 5 Aug 2000, Lamar Owen wrote:
> 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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Radoslaw Stachowiak | 2000-08-06 09:28:12 | Re: foreign keys |
Previous Message | Tom Lane | 2000-08-06 05:40:46 | Re: Re: Need for rebuilding index after many deletions? |