This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help with Perl/Tk

"Sisyphus" <> wrote in message 3551E1877C7A4F9EA99799CED176646E@desktop2">news:3551E1877C7A4F9EA99799CED176646E@desktop2...

Yes ... but note that the error message doesn't actually say that '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' could not be found. In fact, it says that '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' could not be *loaded* ... which implies that '/usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll' *was* found .... but ... ummm ... couldn't be *loaded*.

Why couldn't it be loaded ? Perhaps because it tried to load a file (usually, in my experience, a dll) that couldn't be found at /usr/lib/perl5/5.8/cygwin/ line 230.

I see. Well, I can get no further info from the debugger; it croaks on line 230 just as the comment says:

   # Many dynamic extension loading problems will appear to come from
   # this section of code: XYZ failed at line 123 of
   # Often these errors are actually occurring in the initialisation
   # C code of the extension XS file. Perl reports the error as being
   # in this perl code simply because this was the last perl code
   # it executed.

my $libref = dl_load_file($file, $module->dl_load_flags) or croak...

But more to this story on the other side of this thread...

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]