On Tue, Aug 12, 2008 at 7:16 PM, Wes Hardaker <
[EMAIL PROTECTED]> wrote:
> way, right now it's loading the system shared object when it should be
> loading the internal one.
>
Yeah, back at home I can reproduce your problem on Debian, too
(PAR 0.980, PAR::Packer 0.982). I ran your "hello, world" example
under strace and sure enough I can see lines like
3260 stat64("/usr/local/lib/perl/5.10.0/auto/IO", 0x99840c0) = -1 ENOENT
(No such file or directory)
3260 stat64("/usr/local/share/perl/5.10.0/auto/IO", 0x99840c0) = -1 ENOENT
(No
such file or directory)
3260 stat64("/usr/lib/perl5/auto/IO", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
3260 stat64("/usr/lib/perl5/auto/IO/IO.so", 0x99840c0) = -1 ENOENT (No such
file or directory)
3260 stat64("/usr/share/perl5/auto/IO", 0x99840c0) = -1 ENOENT (No such
file or directory)
3260 stat64("/usr/lib/perl/5.10/auto/IO", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
3260 stat64("/usr/lib/perl/5.10/auto/IO/IO.so", {st_mode=S_IFREG|0644,
st_size=15868, ...}) = 0
3260 stat64("/usr/lib/perl/5.10/auto/IO/IO.bs", 0x99840c0) = -1 ENOENT (No
such file or directory)
3260 open("/usr/lib/perl/5.10/auto/IO/IO.so", O_RDONLY) = 9
i.e. the executable *is* looking for IO.so in Perl's installation
directories in the
early extraction phase. The cleaning of @INC in script/main.pl happens to
late - at that point early extraction is already finished.
Cheers, Roderich