perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2] & Apache2: undefined symbol: PL_localizing
Date Wed, 13 Oct 2004 21:02:30 GMT
Joe Orton wrote:
> On Wed, Oct 13, 2004 at 08:26:43AM -0400, Stas Bekman wrote:
>>Joe Orton wrote:
>>>This problem is probably caused by a bogus libperl.a on your system
>>>somewhere.  What does:
>>>ls -l /usr/lib/perl/5.6.1/CORE/libperl.* /usr/lib/libperl.* \
>>>  /usr/local/lib/libperl.*
>>IMHO, it's the linker is after, not libperl.a, since it's 
>>-rdynamic -lperl.
> -rdynamic is an obsolete gcc alias for -Wl,--export-dynamic, and has no
> effect on whether the linker uses static or dynamically loaded libraries
> for -l options.  (in fact it's completely redundant when linking a
> shared object like mod_perl as far as I'm aware)

We just use whatever flags perl gives us for linking (similar to 
apr-config ...).

> If -lperl was specified on the link line and ldd does not show a
> dependency on, then barring a complete linker fubar, it
> must be the case that a libperl.a was linked statically.

I doubt that this is the case, because I asked Martin to run nm on and perl symbols were unresolved. Please see:

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

Report problems:
Mail list info:
List etiquette:

View raw message