Re: libperl.so

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Charles Tassell <ctassell(at)isn(dot)net>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, Ron Peterson <rpeterson(at)wallacefloyd(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: libperl.so
Date: 2000-08-05 21:49:07
Message-ID: 398C8BD3.C8438E63@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Radoslaw Stachowiak 2000-08-05 22:05:44 foreign keys
Previous Message Carsten Huettl 2000-08-05 21:43:55 Re: [GENERAL] pg_id: command not found