Re: Embedding in shared library blues
On Tue, May 22, 2001 at 01:40:05PM -0700, Daniel Jacobowitz wrote:
>On Tue, May 22, 2001 at 12:41:18PM +1000, Brendan O'Dea wrote:
>> On Mon, May 21, 2001 at 03:29:11PM -0700, Daniel Jacobowitz wrote:
>> >[...] DynaLoader, however, is a problem -
>> >it's not PIC, but libperl is. I'd much rather keep modperl entirely PIC,
>> >and this is what seems to be stopping me at present. Any ideas?
>>
>> DynaLoader.a contains a single file, DynaLoader.o which is used to
>> provide a portable interface to dynamic loading (uses dlopen() here) and
>> is compiled with -fPIC.
>
>How sure are you of that?
>
> [ 2] .rel.text REL 00000000 0016ac 000628 08 9 1 4
>
>That's not PIC.
Bother.
The DynaLoader Makefile has -fPIC. It's overriden by the top-level
Makefile though (didn't see that earlier).
Let me see what I can do.
Regards,
--
Brendan O'Dea bod@compusol.com.au
Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633
Reply to: