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

Message ListMessage List     Post MessagePost Message

  error with Perl demo.pl "unsupported file layout DynaLoader.pm"
Posted by Martin on Mar-05-2014 19:24
Hi and thank you

I am getting this error running the demo on my production Freebsd 8.2 machine,
using the Perl Freebsd i386 download. It works perfect on my test Freedsd 6.2
machine. Any ideas?

Error
Can't load './perlchartdir514i64.so' for module perlchartdir514i64:
./perlchartdir514i64.so: unsupported file layout at
/usr/local/lib/perl5/5.14.2/mach/DynaLoader.pm line 190.
at perlchartdir.pm line 9
        ...propagated at perlchartdir.pm line 20.
Compilation failed in require at ../perldemo/yzonecolor.pl line 2.
BEGIN failed--compilation aborted at ../perldemo/yzonecolor.pl line 2.

I uploaded to my live server the tar.gz file, and tried to run the a demo pl. this the
error
I get. I simply ran

> cd ChartDirector/lib
> perl ../perldemo/yzonecolor.pl

This is my production server
FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012
CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (3291.72-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306a9  Family = 6  Model = 3a  Stepping = 9

This is my test server
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
CPU: AMD E-300 APU with Radeon(tm) HD Graphics (1294.17-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x500f20  Stepping = 0

  Re: error with Perl demo.pl "unsupported file layout DynaLoader.pm"
Posted by Peter Kwan on Mar-05-2014 22:59
Hi Martin,

It is possible to perform the followings and inform me what is the output?

uname -a
perl -V
cd ChartDirector/lib
ls -l

Regards
Peter Kwan

  Re: error with Perl demo.pl "unsupported file layout DynaLoader.pm"
Posted by Martin on Mar-06-2014 01:10
Thank you Peter,

As you said, "The issue may be because your live server is using FreeBSD (amd64),
which is not compatible with FreeBSD (i386). If this is the cause of the problem, please
download "ChartDirector for Perl" for FreeBSD (AMD64) instead."

I uploaded the AMD64 package, and all is well.

Thank for the quick supports.
Martin Gross