Win32 error 126 under cron, but not under shell

Steve Kelem s_kelem@pacbell.net
Wed Mar 26 18:22:00 GMT 2003


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/



More information about the Cygwin mailing list