On Thu, 4 Apr 2002, Ken Williams wrote:
> It's having trouble loading the binary part of some perl module.
Well that's actually a pretty useful insight, thank you. I kept thinking
it was some exotic condition within Perl itself, but was having a hard
time thinking of what it could be & why it only happened sporadically. Of
course it makes sense for it to be a corrupted library or something along
those lines ...but which?
The two situations in which I've been able to reliably reproduce this is
[a] now, when using Fink, and [b] earlier when trying to use CPAN.pm:
[localhost Wed 6:59:22pm bin]% sudo cpan
cpan>
cpan> ?
Display Information
command argument description
[[snip -- suffice to say, asking for help works just fine]]
cpan> i LWP
dyld: perl5.6.0 Undefined symbols:
_PerlIO_getc
_PerlIO_putc
_Perl_PerlIO_read
_Perl_PerlIO_write
_Perl_sv_2pv_flags
[localhost Wed DING! bin]%
So, both Fink and CPAN.pm's search mechanism are calling the same broken
routine. That's a start anyway, now I've got to go whittle some more...
> You can tell because of the "dyld:" bit. It doesn't say which module is
> the problem, though, but once you find it you should be able to just
> reinstall that module.
Thanks :)
> Finkos, what's the proper way to increase verbosity, or hook into
> $SIG{__DIE__}, to tell what module is the problem?
You can set "Verbose: true" in /sw/etc/fink.conf, but that's what I'm
using here and you saw the output that I'm getting. I wonder if adding a
"use warnings" would help; hrm, guess not. Carp maybe? Coy? That would be
stress relief anyhow... :)
> Chris, I'm assuming your perl installation works well normally, yes?
It works just fine 90% of the time, aside from locale warnings it works
well 99% of the time. But when it fails, it fails spectacularly... :/
--
Chris Devers [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
"More war soon. You know how it is." -- mnftiu.cc
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users