|
Can't locate loadable object for module perlchartdir510mt in @INC |
Posted by Vu Truong Vinh on May-09-2011 12:59 |
|
Hello,
Sorry if this post is duplicate. There are few post with quite relevant content, but I couldn't find any mentioned the module (perlchartdir510mt) so I suppose this is worth a separate post.
Anyway, the problem is: I have downloaded the perlchartdir tar file, followed the instructions, put all the files under lib folder into a separate place and explicitly added 'use <perlchart lib folder>' inside the perl script file. However, whenever I called the script I got the following error:
Can't locate loadable object for module perlchartdir510mt in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .)
I can't see any module named perlchartdir510mt (with .so extension) inside the lib folder. Can anybody help me with this error please?
My system info return from (uname -a):
Linux ubuntu1010desktop 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux
Thank you very much.
Vinh |
Re: Can't locate loadable object for module perlchartdir510mt in @INC |
Posted by Peter Kwan on May-10-2011 02:54 |
|
Hi Vu Truong Vinh,
Are you using the Linux (i386) edition of ChartDirector for Perl, or the Linux (x86_64) edition?
From your "uname -a", your Linux 32-bit and should use the Linux (i386) edition of ChartDirector for Perl. This edition of ChartDirector for Perl should contain the "perlchartdir510mt.so" file. On the other hand, the Linux (x86_64) edition does not contain this file, and is not suitable for your Linux type anyway.
Hope this can help.
Regards
Peter Kwan |
Re: Can't locate loadable object for module perlchartdir510mt in @INC |
Posted by Vu Truong Vinh on May-10-2011 10:08 |
|
Hi Peter,
Appreciate you quick help. You are absolutely right!
I just found out that I have downloaded the version from our server which is meant for 64 bit, while my computer is 32 bit only.
Thank you very much
Vinh |
|