Subject: Re: Dynamic linking of perl modules
To: Martin Husemann <martin@duskware.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-toolchain
Date: 11/05/2000 13:40:13
On Sun, 5 Nov 2000, Martin Husemann wrote:
: cc -o IO.so -shared (some *.o files) libperl.a
:
: The resulting IO.so references PL_op (nm outputs "U PL_op"), but "perl" can't
: load IO.so, because "perl" does not export PL_op,
Then this is a bug. ELF shared object ports should be linking perl with
ld's -E option (to cc, -Wl,-E). This instructs a main program to export all
symbols to the runtime linker.
--
-- Todd Vierling <tv@wasabisystems.com> * http://www.wasabisystems.com/
-- Speed, stability, security, and support. Wasabi NetBSD: Run with it.