Created
February 28, 2009 00:09
-
-
Save jabley/71790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jabley@176282-app1 ruby-ffi~mercurial]$ jruby -rffi -d -e 'puts FFI::Platform::ARCH' | |
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native | |
at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:55) | |
at org.jruby.ext.ffi.jna.DynamicLibrary.open(DynamicLibrary.java:59) | |
at org.jruby.ext.ffi.jna.DynamicLibrary$s_method_2_0$RUBYINVOKER$open.call(org/jruby/ext/ffi/jna/DynamicLibrary$s_method_2_0$RUBYINVOKER$open.gen) | |
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293) | |
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:152) | |
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59) | |
at org.jruby.ast.ConstDeclNode.interpret(ConstDeclNode.java:97) | |
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) | |
at org.jruby.evaluator.ASTInterpreter.evalClassDefinitionBody(ASTInterpreter.java:196) | |
at org.jruby.ast.ModuleNode.interpret(ModuleNode.java:120) | |
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
at org.jruby.ast.RootNode.interpret(RootNode.java:129) | |
at org.jruby.Ruby.loadFile(Ruby.java:2247) | |
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58) | |
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:569) | |
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:276) | |
at org.jruby.runtime.load.LoadService.require(LoadService.java:287) | |
at org.jruby.RubyKernel.require(RubyKernel.java:839) | |
at org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen) | |
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:312) | |
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) | |
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:112) | |
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) | |
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) | |
at org.jruby.ast.RootNode.interpret(RootNode.java:129) | |
at org.jruby.Ruby.loadFile(Ruby.java:2247) | |
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58) | |
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:569) | |
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:276) | |
at org.jruby.runtime.load.LoadService.require(LoadService.java:287) | |
at org.jruby.RubyKernel.require(RubyKernel.java:839) | |
at org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$require.gen) | |
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:312) | |
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) | |
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:112) | |
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) | |
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
at org.jruby.ast.RootNode.interpret(RootNode.java:129) | |
at org.jruby.Ruby.loadFile(Ruby.java:2247) | |
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58) | |
at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:569) | |
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:276) | |
at org.jruby.runtime.load.LoadService.require(LoadService.java:287) | |
at org.jruby.RubyKernel.require(RubyKernel.java:839) | |
at org.jruby.Ruby.init(Ruby.java:949) | |
at org.jruby.Ruby.newInstance(Ruby.java:172) | |
at org.jruby.Main.run(Main.java:199) | |
at org.jruby.Main.run(Main.java:110) | |
at org.jruby.Main.main(Main.java:94) | |
Exception in thread "main" /home/jabley/work/jruby/lib/ruby/1.8/ffi/ffi.rb:58:in `require': IO error -- ffi/library (LoadError) | |
from /home/jabley/work/jruby/lib/ruby/1.8/ffi/ffi.rb:58 | |
from /home/jabley/work/jruby/lib/ruby/1.8/ffi/ffi.rb:1:in `require' | |
from /home/jabley/work/jruby/lib/ruby/1.8/ffi.rb:1 | |
from /home/jabley/work/jruby/lib/ruby/1.8/ffi.rb:1 | |
...internal jruby stack elided... | |
from Kernel.require(/home/jabley/work/jruby/lib/ruby/1.8/ffi/ffi.rb:58) | |
from (unknown).(unknown)(/home/jabley/work/jruby/lib/ruby/1.8/ffi/ffi.rb:1) | |
from Kernel.require(/home/jabley/work/jruby/lib/ruby/1.8/ffi.rb:1) | |
from (unknown).(unknown)(/home/jabley/work/jruby/lib/ruby/1.8/ffi.rb:1) | |
from (unknown).(unknown)(:1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment