Skip to content

Instantly share code, notes, and snippets.

@dje
Created September 30, 2011 15:04
Show Gist options
  • Save dje/1254014 to your computer and use it in GitHub Desktop.
Save dje/1254014 to your computer and use it in GitHub Desktop.
embedded jruby and ffi
(LoadError) load error: yajl/yajl -- java.lang.UnsatisfiedLinkError: dlopen(/Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle, 9): Symbol not found: _rb_cArray
Referenced from: /Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
Expected in: dynamic lookup
[Thrown class org.jruby.embed.EvalFailedException]
Restarts:
0: [QUIT] Quit to the SLIME top level
1: [CAUSE1] Invoke debugger on cause (LoadError) load error: yajl/yajl -- java.lang.UnsatisfiedLinkError: dlopen(/Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle, 9): Symbol not found: _rb_cArray
Referenced from: /Users/dje/.rvm/gems/jruby-1.6.4/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
Expected in: dynamic lookup
[Thrown class org.jruby.exceptions.RaiseException]
Backtrace:
0: org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
1: org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
2: org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
3: sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
4: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
5: java.lang.reflect.Method.invoke(Method.java:597)
6: clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
7: clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
8: chef.ruby$execute.invoke(ruby.clj:20)
9: chef.ruby$require_gem.invoke(ruby.clj:27)
--more--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment