ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Can't locate loadable object for module perlchartdir58i64mt
Posted by Ashish Gupta on Jul-14-2014 23:27
Hi,

   Please guide me how to resolve give below this issue :

   Thanks In Advanced.

Issue:1
Can't locate loadable object for module perlchartdir58i64mt in @INC (@INC contains: D:/wamp/www/ D:/wamp/www/lib/ChartDirector32/lib/ D:/wamp/bin/perl/site/lib D:/wamp/bin/perl/vendor/lib D:/wamp/bin/perl/lib .) at D:/wamp/www/lib/ChartDirector32/lib/perlchartdir.pm line 9., referer: http://localhost/u2/home/index
[Mon Jul 14 18:59:15 2014] [error] [client 127.0.0.1] \\t...propagated at D:/wamp/www//lib/ChartDirector32/lib/perlchartdir.pm line 20.

Issue:2
Can't load 'D:/wamp/www/lib/ChartDirector32/lib//perlchartdir518i64mt.dll' for module perlchartdir518i64mt: load_file:%1 is not a valid Win32 application at D:/wamp/bin/perl/lib/DynaLoader.pm line 190., referer: http://localhost/u2/home/index
[Mon Jul 14 19:34:49 2014] [error] [client 127.0.0.1]  at D:/wamp/www/lib/ChartDirector32/lib/perlchartdir.pm line 9.


Thanks,
Ashish Gupta

  Re: Can't locate loadable object for module perlchartdir58i64mt
Posted by Peter Kwan on Jul-15-2014 02:43
Hi Ashish,

The first issue means that ChartDirector is trying to load the perl module for Perl 5.8, but it
cannot find the "perlchartdir58i64mt.dll". Is it possible you are using "ChartDirector for Perl
for Windows 64-bit", which does not support Perl 5.8? (Perl 5.8 is an extremely old version
of Perl, and at that time, Windows 64-bit did not exist.)

The second issue means ChartDirector is trying to load the perl module for Perl 5.18, but the
perl module "perlchartdir518i64mt.dll" is not compatible with the operating system
architecture of your Perl interpreter. For example, if your Perl interpreter is 32-bit, but your
"ChartDirector for Perl" is for Windows 64-bit, this would result in this problem. If this is the
cause of the problem, to solve the problem, please download the "ChartDirector for Perl"
edition that matches the operating system architecture of your Perl interpreter. For
example, if you are using the Windows 64-bit edition of "ChartDiretor for Perl", please try
the Windows 32-bit edition instead.

Hope this can help.

Regards
Peter Kwan

  Re: Can't locate loadable object for module perlchartdir58i64mt
Posted by Ashish Gupta on Jul-18-2014 20:19
Hello Peter,

I am using Perl Strawberry updated version [5.18.2] on windows.
and also we use ChartDirector32 and ChartDirector64 then why below error append.

OS : Windows 8, Using WAMP server ,

Please suggest me what can i do for this.

Thanks in advanced.

Thanks,
Ashish


Peter Kwan wrote:

Hi Ashish,

The first issue means that ChartDirector is trying to load the perl module for Perl 5.8, but it
cannot find the "perlchartdir58i64mt.dll". Is it possible you are using "ChartDirector for Perl
for Windows 64-bit", which does not support Perl 5.8? (Perl 5.8 is an extremely old version
of Perl, and at that time, Windows 64-bit did not exist.)

The second issue means ChartDirector is trying to load the perl module for Perl 5.18, but the
perl module "perlchartdir518i64mt.dll" is not compatible with the operating system
architecture of your Perl interpreter. For example, if your Perl interpreter is 32-bit, but your
"ChartDirector for Perl" is for Windows 64-bit, this would result in this problem. If this is the
cause of the problem, to solve the problem, please download the "ChartDirector for Perl"
edition that matches the operating system architecture of your Perl interpreter. For
example, if you are using the Windows 64-bit edition of "ChartDiretor for Perl", please try
the Windows 32-bit edition instead.

Hope this can help.

Regards
Peter Kwan

  Re: Can't locate loadable object for module perlchartdir58i64mt
Posted by Peter Kwan on Jul-19-2014 00:26
Hi Ashish,

For Perl 5.18, ChartDirector should load "perlchartdir518i64mt", but not
"perlchartdir58i64mt". The latter is for Perl 5.8.

Have you used an older version of ChartDirector before, and are upgrading to the latest
version of ChartDirector? If this is the case, is it possible you have forgotten to upgrade
the "perlchartdir.pm"?

The ChartDirector for Perl distribution includes several DLLs, and also one perl module
"perlchartdir.pm". The perl module is to detect the Perl version and load the suitable DLL,
and this is what is referenced in the Perl scripts (with "use perlchartdir;").

It is not uncommon for people to copy "perlchartdir.pm" to various directories (like the
same directory as the user scripts), so the "perlchartdir.pm" can be distributed to many
directories. When they upgrade ChartDirector, they may forget to upgrade those
"perlchartdir.pm". The old "perlchartdir.pm" may not know which DLL to choose for the
latest Perl version. In general, the "perlchartdir.pm" supports Perl versions that exist at
the time of release of the "perlchartdir.pm", but not future Perl versions.

To further troubleshoot the problem, please test using the command line, so we can see
more information. Please try the followings from the command line and inform me of the
results:

(a) Copy all files from "ChartDirector/lib" to "ChartDirector/perldemo".

(b) Open a command shell, and change you current directory to "ChartDirector/perldemo".
Then enter:

perl -V
perl simplebar.pl

The first command above displays the perl version. The second command should generate
a chart image "simplebar.png". It should display some error message if the script is not
successful. Please kindly let me know what are the results.

Regards
Peter Kwan

  Re: Can't locate loadable object for module perlchartdir58i64mt
Posted by Ashish Gupta on Jul-24-2014 19:20
Hi Peter,

    I am apply given below process as you suggested but I am getting Error on 32 BIT.

D:\\ChartDirector32\\perldemo>perl simplebar.pl
Can't load './perlchartdir518i64mt.dll' for module perlchartdir518i64mt: load_fi
le:%1 is not a valid Win32 application at D:/wamp/bin/perl/lib/DynaLoader.pm lin
e 190.
at perlchartdir.pm line 9.
        ...propagated at perlchartdir.pm line 21.
Compilation failed in require at simplebar.pl line 2.
BEGIN failed--compilation aborted at simplebar.pl line 2.

Please suggest me what can i handle this sach type of error.

Thanks In Advanced.

Thanks,
Ashish

Peter Kwan wrote:

Hi Ashish,

For Perl 5.18, ChartDirector should load "perlchartdir518i64mt", but not
"perlchartdir58i64mt". The latter is for Perl 5.8.

Have you used an older version of ChartDirector before, and are upgrading to the latest
version of ChartDirector? If this is the case, is it possible you have forgotten to upgrade
the "perlchartdir.pm"?

The ChartDirector for Perl distribution includes several DLLs, and also one perl module
"perlchartdir.pm". The perl module is to detect the Perl version and load the suitable DLL,
and this is what is referenced in the Perl scripts (with "use perlchartdir;").

It is not uncommon for people to copy "perlchartdir.pm" to various directories (like the
same directory as the user scripts), so the "perlchartdir.pm" can be distributed to many
directories. When they upgrade ChartDirector, they may forget to upgrade those
"perlchartdir.pm". The old "perlchartdir.pm" may not know which DLL to choose for the
latest Perl version. In general, the "perlchartdir.pm" supports Perl versions that exist at
the time of release of the "perlchartdir.pm", but not future Perl versions.

To further troubleshoot the problem, please test using the command line, so we can see
more information. Please try the followings from the command line and inform me of the
results:

(a) Copy all files from "ChartDirector/lib" to "ChartDirector/perldemo".

(b) Open a command shell, and change you current directory to "ChartDirector/perldemo".
Then enter:

perl -V
perl simplebar.pl

The first command above displays the perl version. The second command should generate
a chart image "simplebar.png". It should display some error message if the script is not
successful. Please kindly let me know what are the results.

Regards
Peter Kwan

  Re: Can't locate loadable object for module perlchartdir58i64mt
Posted by Peter Kwan on Jul-25-2014 00:48
Hi Ashish,

Please check that if the operating system edition of ChartDirector for Perl matches with
your Perl interpreter. For example, if your Perl interpreter is for the 64-bit Windows
operating system, please use "ChartDirector for Perl for Windows (64-bit)". If your Perl
interpreter is for 32-bit Windows, please use  "ChartDirector for Perl for Windows (32-bit)".

If you need further help, would you mind to provide the following information:

(a) The result of the "perl -V" command. (Used to determine which operating system edition
of Perl you are using.)

(b) "cd D:\\ChartDirector32\\perldemo", then enter "dir". (Used to determine the operating
system edition of ChartDirector you are using.)

Regards
Peter Kwan