delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <00b701c30dfc$e3257b70$145e86d9@ellixia> |
From: | "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> |
To: | "cygwin" <cygwin AT cygwin DOT com>, "Greg McCrory" <greg AT coolbrew DOT com> |
References: | <5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030428202700 DOT 01aaacb0 AT localhost> <5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030428215943 DOT 01b9a818 AT coolbrew DOT com> |
Subject: | Re: Calling perl script from shell script: Win32 error 126 |
Date: | Tue, 29 Apr 2003 04:10:27 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
> At 4/28/2003 10:54 PM -0400, you wrote: > > > >>> > > > Can't load > > > '/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Image/Magick/Magick.dll' > > > for module Image::Magick: dlopen: Win32 error 126 at > > > /usr/lib/perl5/5.6.1/cygwin-multi/DynaLoader.pm line 206. > > > <<< > > > >Greg, > > > >Does the above DLL exist? Is it readable and executable by the current > >user? Do you set the PATH in your shell to include the above directory? > >If so, do you export it? Do you set it in the script? > > Igor > > > The dll definitely exists and is readable by everyone. I do not set the > PATH in the shell or shell script, I hadn't thought it was necessary. That > path comes from the perl @INC array and since the error shows the complete > path to the file, it is clear that the path is known by the perl script. What does $ ls -al /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/Image/Magick/Magick.dll show? Readable and executable by everyone? Elfyn -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |