JRuby: undefined symbol: rb_set_end_proc #54

Closed
prawin opened this Issue Jan 23, 2012 · 3 comments

Projects

None yet

4 participants

@prawin

I am usgin jruby 1.6.2 on RVM. The gem got installed correctly but consle doesnt starts up throws
java: symbol lookup error: /home/prawin/.rvm/gems/jruby-1.6.2/gems/patron-0.4.17/lib/patron/session_ext.so: undefined symbol: rb_set_end_proc

@toland
Owner

I have verified myself that this happens with JRuby 1.6.6. It looks like JRuby does not provide rb_set_end_proc, but that function is used to implement a fairly important feature in Patron. I don't really know enough of the ins and outs of writing extensions for JRuby to be able to comment further. The only thing I can recommend at this point is to try 0.4.16 or 0.4.15 of Patron since the change that is causing the problem was introduced in 0.4.17.

@michaeljoy

This is also happening with JRuby 1.7 Head, with OpenJDK 7u3.

@julik
Collaborator

Don't see any reference to rb_set_end_proc in the current source, only rb_ensure. Also quite some water went under the bridge in jRuby land since then (like the extraction of C extension support), so closing.

@julik julik closed this May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment