[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, 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);
    };

% ./perl -I ./lib -le 'print join(" ", <*>)'
/usr/local/src/perl5.005_63
-rwxr-xr-x  1 tchrist  wheel  17971 Dec 11 08:30 lib/auto/File/Glob/Glob.so
Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: No such file or directory at lib/XSLoader.pm line 73.
 at lib/File/Glob.pm line 94
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


--tom


Follow-Ups from:
Ilya Zakharevich <ilya@math.ohio-state.edu>
References to:
Ilya Zakharevich <ilya@math.ohio-state.edu>

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