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

Message ListMessage List     Post MessagePost Message

  Unsupported file layout
Posted by Mihwa Hwang on May-07-2009 02:33
Hi there,

We are considering to buy your software and trying to play with ChartDirector before the decision.

But I have this problem below.

> ruby simpleline.rb
/usr/local/lib/ruby/site_ruby/1.8/rubycdapi18.so: /usr/local/lib/ruby/site_ruby/1.8/rubycdapi18.so: unsupported file layout - /usr/local/lib/ruby/site_ruby/1.8/rubycdapi18.so (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/chartdirector.rb:13
        from simpleline.rb:2:in `require'
        from simpleline.rb:2

Our platform is this.

FreeBSD dev2 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Wed Feb 11 14:08:21 PST 2009     xxx@prototype.sempapower.net:/usr/src/sys/amd64/compile/PROTORYPE  amd64


Could you tell me whatelse I can try?

  Re: Unsupported file layout
Posted by Peter Kwan on May-08-2009 02:05
Hi Mihwa,

Unluckily, currently ChartDirector for Ruby is only supported on Windows, Linux (i386), Linux (x86_64), Solaris (Sparc), FreeBSD (i386) and Mac OS X. In your case, your OS is FreeBSD (AMD64), which is not supported.

The error message is probably because you have used a "ChartDirector for Ruby" release for a different OS/CPU architecture in your computer. In particular, because FreeBSD (AMD64) programs cannot use FreeBSD (i386) shared objects, so using FreeBSD (i386) edition of ChartDirector will not work.

For your case, I am worried the followings are the only methods to use ChartDirector:

(a) Use a i386 edition of Ruby, instead of AMD64 edition. Even your OS is FreeBSD AMD64, it is possible to run Ruby i386 (or compatible, such as Ruby i686).

(b) Use another programming language edition of ChartDirector, such as ChartDirector for Perl, PHP or Python, which do support FreeBSD AMD64.

Hope this can help.

Regards
Peter Kwan