|
Error loading shared library /lib/libchartdir.so: No such file or directory |
Posted by AM on Jun-13-2016 22:41 |
|
Hello,
Trying to install ChartDirector 5.1 on Alpine Linux. I have put the contents of the lib directory into /usr/lib/perl5/vendor_perl to keep it from errorring out with "Can't locate perlchartdir.pm in @INC", but now I get the error: "Error loading "/lib/libchartdir.so" : Error loading shared library /lib/libchartdir.so: No such file or directory
...propagated at /usr/lib/perl5/vendor_perl/perlchartdir.pm line 21.
Compilation failed in require at xzonecolor.pl line 2.
BEGIN failed--compilation aborted at xzonecolor.pl line 2."
Regards,
Angelo |
Re: Error loading shared library /lib/libchartdir.so: No such file or directory |
Posted by Peter Kwan on Jun-15-2016 01:43 |
|
Hi AM,
The Apline Linux seems to be some type of special Linux. I will download Apline Linux to test myself. Would you mind to inform me which edition of Apline Linux you are using? In the Apline Linux web site, it lists 11 editions and many of them are not binary compatible with each others.
http://www.alpinelinux.org/downloads/
Have you tried to copy the "libchartdir.so" to "/lib" to try to see if this can solve problem? As the Linux is using busybox and a special libc, it may be possible the directory structure is "virtualized" and the actual directory is the "/lib" subdirectory.
Also, if you are using a Perl for Linux (x86_64), you must also use the ChartDirector for Perl for Linux (x86_64) (not for Linux (i386/i686)). The Linux OS sometimes will report "File Not Found" if the file is there but is of the incorrect architecture. You may use "Perl -V" to determine the OS architecture of your Perl.
Regards
Peter Kwan |
|