|
chartdirector is not working properly |
Posted by sakthivel on Jul-20-2011 20:34 |
|
Can't locate loadable object for module perlchartdir58mt in @INC (@INC contains: comes in the apache error.log but it works fine before 2 months.This issue comes in the windows server.
Can any one please help on this. we are seeking ur help more badly. |
Re: chartdirector is not working properly |
Posted by Peter Kwan on Jul-21-2011 02:22 |
|
Hi sakthivel,
The error message means your Perl interpreter is unable to locate the file "perlchartdir58mt.dll".
Have you copied "all files" from "ChartDirector\\lib" to your Perl module directory (any directory that is in @INC).
In the Apache error log, usually after the "(@INC contains:" text, there should be a list of directories (sometimes it is printed in the next line). Please copy "all files" from "ChartDirector\\lib" to any of the directories. If you cannot find the directory list in the Apache error log, you may use perl -V to find out the list (look for the @INC in the output). The file should include both "perlchartdir58mt.dll" and "chartdir.dll".
(Note: in case there are multiple Perl interpreters in your computer, when issuing "perl -V", please use the same Perl interpreter that is used by your Apache server.)
The ChartDirector sample code will also try to look for the same directory as the script for "perlchartdir58mt.dll" and "chartdir.dll". (The sample code contains a line "use lib dirname($0) =~ /(.*)/;" to do this.) So if you are testing using the sample code, or if you have copied the above line in your own code, you may try to copy all files from "ChartDirector/lib" to the same directory as your script.
If you need further help, would you mind to provide the following information?
(a) Please inform me the output of "perl -V".
(b) Go to the directory which you have copied "all files" from "ChartDirector\\lib" to. Then issue the following command and inform me of the result:
cd
dir *.dll
(c) Copy all files from "ChartDirector/lib" to "ChartDirector/perldemo". Then from the command prompt, change the directory to "ChartDirector/perldemo", and run the command line sample code "simplebar.pl" using "perl simplebar.pl". Does it work?
Regards
Peter Kwan |
Re: chartdirector is not working properly |
Posted by sakthivel on Aug-04-2011 21:09 |
|
hi,
Sorry for the late reply.
C:\\Documents and Settings\\saannama>perl -v
This is perl, v5.6.0 built for Intel
Copyright 1987-2000, Larry Wall
Win32 port Copyright 1996-1997 by Mortice Kern Systems Inc.
MKS version 8.0 build 1328
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
these are 2 files present under the chart dir/lib
FinanceChart.pm
perlchartdir.pm
There is no dll present in that location as u have said
Please provide us the solution.
Thanks and Regards,
sakthivel.A |
Re: chartdirector is not working properly |
Posted by sakthivel on Aug-04-2011 21:15 |
|
thanks for ur help. problem got solved dll got deleted i have placed from the original.... |
|