develooper Front page | perl.perl5.porters | Postings from July 2001

Re: PERL_DL_NONLAZY=1 and Cwd

Thread Previous
From:
Nick Ing-Simmons
Date:
July 6, 2001 04:28
Subject:
Re: PERL_DL_NONLAZY=1 and Cwd
Message ID:
20010706121559.1279.2@bactrian.ni-s.u-net.com
Michael G Schwern <schwern@pobox.com> writes:
>On Mon, Jul 02, 2001 at 05:33:11PM +0000, Nick Ing-Simmons wrote:
>> Sure, what are the 'U' unresolved entries?
>
>Here's the full output of "nm Cwd.so".
>
>PS Let's pretend I have 0 understanding of shared libraries.  I am
>your loyal monkey.
>
>         U sv_getcwd

That looks like the problem. embed.h should have turned that into 
Perl_sv_getcwd() which is what util.c defines and exports.
So I assume issue is that the perl you are using for Cwd-as-XS is 
too old to have sv_getcwd() in the core.

So you will need to copy/paste it back from util.c into Cwd.xs
and sprinkle in a few #ifdef-s.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About