delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/28/22:54:36

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 28 Apr 2003 22:54:28 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Greg McCrory <greg AT coolbrew DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Calling perl script from shell script: Win32 error 126
In-Reply-To: <5.2.1.1.2.20030428202700.01aaacb0@localhost>
Message-ID: <Pine.GSO.4.44.0304282252350.18475-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 28 Apr 2003, Greg McCrory wrote:

> I have a perl script that manipulates some images using Image Magick.  It
> works great when I run it directly from the shell.  But when called from
> inside a shell script it fails with the following error:
>
> >>>
> 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.
> <<<
>
> Anyone have any insight into this problem? Is it permissions related?
>
> Thanks,
> GMc

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
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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