[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: File::Glob in failure perl5.05_63 XSLoader on OpenBSD 2.6



On Tue, Jan 04, 2000 at 11:45:41AM -0700, Tom Christiansen wrote:
> On Tue, 4 Jan 2000 13:44:38 -0500
>     Ilya Zakharevich <ilya@math.ohio-state.edu> wrote
>     using Mutt 1.0i
>   in <20000104134438.A2113@monk.mps.ohio-state.edu>:
> 
> >AHA!  What about calling dl_error() *before* 'require Carp'?
> 
> Same thing:
> 
>     my $libref = dl_load_file($file, 0) or do {
>         my $err = dl_error();
>         require Carp;
>         system("pwd; ls -l $file");
>         Carp::croak("Can't load '$file' for module $module: " . $err);
>     };

I'm afraid a debug into XSUB dl_load_file() is not avoidable...

Ilya


Follow-Ups from:
Tom Christiansen <tchrist@jhereg.perl.com>
References to:
Ilya Zakharevich <ilya@math.ohio-state.edu>
Tom Christiansen <tchrist@jhereg.perl.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]