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

Message ListMessage List     Post MessagePost Message

  symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so
Posted by Ashish Gupta on Jul-18-2014 20:10
Hello ,

  Can anybody help me with this error please?

[Fri Jul 18 17:25:56 2014] [error] [client 127.0.0.1] /usr/bin/perl: symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so: undefined symbol: Perl_Gthr_key_ptr, referer: http://vdev.judydiamond.com/u2/home/index

Perl Version Details : This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi.

Operating System Details :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

Thank you very much.

Ashish Gupta

  Re: symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so
Posted by Peter Kwan on Jul-19-2014 00:57
Hi Ashish,

For Perl 5.14, ChartDirector should load "perlchartdir514i64mt", 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"? In particular, is there an old version of "perlchartdir.pm" that is in
your own script directory?

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

If the above is the cause of the problem, please upgrade the "perlchartdir.pm" to the
latest version that comes with the latest version of ChartDirector.

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
./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. The last line runs the script as well, but using the #!/usr/lib/perl, which
normally is the same as that in the "perl -V" (unless you have multiple versions of Perl
installed on your machine). For the last line, you may need to use chmod 755 to allow
sample script to be executable.

Please kindly let me know what are the results.

Regards
Peter Kwan

  Re: symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so
Posted by Ashish Gupta on Jul-22-2014 23:00
Hi Peter,
    Thanks for solution.

     When we run below script as suggested by you.

    perl -V
perl simplebar.pl
./simplebar.pl

    I am not get any type of error message.
    Output is blank.

indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ perl simplebar.pl
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ sudo chmod 755 simplebar.pl
[sudo] password for indusa:
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ ./simplebar.pl
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$


Please check and guide me how to achieve my destination.

Thanks In advanced.

Thanks,
Ashish


Peter Kwan wrote:

Hi Ashish,

For Perl 5.14, ChartDirector should load "perlchartdir514i64mt", 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"? In particular, is there an old version of "perlchartdir.pm" that is in
your own script directory?

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

If the above is the cause of the problem, please upgrade the "perlchartdir.pm" to the
latest version that comes with the latest version of ChartDirector.

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
./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. The last line runs the script as well, but using the #!/usr/lib/perl, which
normally is the same as that in the "perl -V" (unless you have multiple versions of Perl
installed on your machine). For the last line, you may need to use chmod 755 to allow
sample script to be executable.

Please kindly let me know what are the results.

Regards
Peter Kwan

  Re: symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so
Posted by Ashish Gupta on Jul-22-2014 23:01
Attachments:
Hi Peter,
    Thanks for solution.

     When we run below script as suggested by you.

    perl -V
perl simplebar.pl
./simplebar.pl

    I am not get any type of error message.
    Output is blank.

indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ perl simplebar.pl
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ sudo chmod 755 simplebar.pl
[sudo] password for indusa:
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$ ./simplebar.pl
indusa@indusa-perl:~/Downloads/Chart_Director/ChartDirector_linux_64/perldemo$


Please check and guide me how to achieve my destination.

Thanks In advanced.

Thanks,
Ashish


Peter Kwan wrote:

Hi Ashish,

For Perl 5.14, ChartDirector should load "perlchartdir514i64mt", 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"? In particular, is there an old version of "perlchartdir.pm" that is in
your own script directory?

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

If the above is the cause of the problem, please upgrade the "perlchartdir.pm" to the
latest version that comes with the latest version of ChartDirector.

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
./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. The last line runs the script as well, but using the #!/usr/lib/perl, which
normally is the same as that in the "perl -V" (unless you have multiple versions of Perl
installed on your machine). For the last line, you may need to use chmod 755 to allow
sample script to be executable.

Please kindly let me know what are the results.

Regards
Peter Kwan
Chart_Director.png

  Re: symbol lookup error: /sites/judydiamond.com/lib/ChartDirector64/lib/perlchartdir58i64mt.so
Posted by Peter Kwan on Jul-22-2014 23:57
Hi Ashish,

If there is no error message and the output is blank, then it seems everything is working
normally. The script "simplebar.pl" is supposed to create a chart image "simplebar.png" in the
same directory that you run the script. It should not output anything on the screen. To
confirm, please double check if you can file a file "simplebar.png" in the same directory as
the "simplebar.pl". This can confirm if the "simplebar.pl" is running correctly without any
issue.

Have you double check whether you also have an old version of "perlchartdir.pm", and your
script is using that old copy? For example, is there an old copy of "perlchartdir.pm" included
in the same directory as your script? You may want to use the Linux "find" command to
search your file system to see if there are some old "perlchartdir.pm" around:

find / -name perlchartdir.pm

Please kindly let me know what is the full output of the above command.

Regards
Peter Kwan