in reply to Perl modules not linking to libperl.so
... So, how do we go about fixing this issue to everyones satisfaction?From what I can tell, you could modify lddlflags in Config.pm and append a path to libperl.
Probably the best way to do it would be by editing Makefile.SH (or whatever is ultimately responsible for setting lddlflags in Config for your platform), so that the core modules are also linked to libperl.so.
update: You could also set the env variable LDLOADLIBS.
On Win32, this is already done through ExtUtils::MakeMaker by setting PERL_ARCHIVE (PERL_ARCHIVE = $(PERL_INC)\perl58.lib), which you could also set by editing ExtUtils::MM_Unix (sub init_linker).
It might be a good idea for ExtUtils::MM_Unix to do this by default, so you might want to contact the perl5-porters and inquire about it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl modules not linking to libperl.so
by buckrogers1965 (Initiate) on Oct 07, 2005 at 22:14 UTC |