Subject: Re: Dynamic linking of perl modules
To: Martin Husemann <>
From: Todd Vierling <>
List: tech-toolchain
Date: 11/05/2000 13:40:13
On Sun, 5 Nov 2000, Martin Husemann wrote:

:    cc -o -shared (some *.o files) libperl.a
: The resulting references PL_op (nm outputs "U PL_op"), but "perl" can't
: load, 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 <>  *
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.