delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/13/08:44:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Michael Kairys" <kairys AT comcast DOT net>
Subject: Re: Need help with Perl/Tk
Date: Thu, 13 Dec 2007 08:35:13 -0500
Lines: 30
Message-ID: <fjrced$vgn$1@ger.gmane.org>
References: <fjr4t5$5sf$1 AT ger DOT gmane DOT org> <3551E1877C7A4F9EA99799CED176646E AT desktop2>
Mime-Version: 1.0
In-Reply-To: <3551E1877C7A4F9EA99799CED176646E@desktop2>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"Sisyphus" <sisyphus1 AT optusnet DOT com DOT au> wrote in message 
news:3551E1877C7A4F9EA99799CED176646E AT 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/DynaLoader.pm 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 DynaLoader.pm.
    # 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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019