| www.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 |
| Date: | Wed, 26 Mar 2003 09:58:33 -0800 |
| From: | Steve Kelem <s_kelem AT pacbell DOT net> |
| Subject: | Win32 error 126 under cron, but not under shell |
| To: | cygwin AT cygwin DOT com |
| Reply-to: | steve AT kelem DOT name |
| Message-id: | <3E81EA49.907@pacbell.net> |
| MIME-version: | 1.0 |
| X-Accept-Language: | en-us, en |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) |
| Gecko/20030208 Netscape/7.02 |
When I run a perl script under tcsh, I don't get a Win32 error 126, but
when run under cron, I do get the error.
The top of my perl script looks like:
#! /usr/bin/perl
# $Id: generate_graphs.perl,v 1.3 2003/02/24 07:08:25 kelem Exp $
use strict;
use diagnostics;
use Time::Local;
require "ctime.pl";
use GD::Graph::linespoints;
The errors are:
Uncaught exception from user code:
Can't load
'/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/GD/GD.dll' for
module GD: dlopen: Win32 error 126 at
/usr/lib/perl5/5.8.0/cygwin-multi-64int/DynaLoader.pm line 229.
at /usr/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph/linespoints.pm line 18.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/GD/Graph/linespoints.pm line 18.
Compilation failed in require at ./stats/bin/generate_graphs.perl line 11.
BEGIN failed--compilation aborted at ./stats/bin/generate_graphs.perl
line 11.
Any idea what's wrong? Is this a rebase issue? Do I need to rebase
GD.dll? Do I need to rebase all the dll's user /usr/lib/perl5?
Thanks,
Steve Kelem
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |