Re: libperl.so - Mailing list pgsql-general

From Alex Pilosov
Subject Re: libperl.so
Date
Msg-id Pine.BSO.4.10.10008060202050.4362-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: libperl.so  (Lamar Owen <lamar.owen@wgcr.org>)
List 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
>
>


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Need for rebuilding index after many deletions?
Next
From: Radoslaw Stachowiak
Date:
Subject: Re: foreign keys