FFI symbol not found issue (flat namespace) 1.1.6 ok 1.2.0 bad
--------------------------------------------------------------
Key: JRUBY-3527
URL: http://jira.codehaus.org/browse/JRUBY-3527
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.2
Environment:
« Hide
java version "1.5.0_16" / Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_16-b06-284) / Java HotSpot(TM) Client VM (build 1.5.0_16-133,
mixed mode, sharing)
JRuby 1.2.0
MacOSX 10.5.6
Reporter: John Mettraux
Assignee: Thomas E Enebo
Priority: Minor
(warning : haven't bound an interrupt trap for this sample, needs to be killed
-9 when run with JRuby1.1.6)
exploring libevent 1.4.8 via FFI (on macosx : "sudo port install libevent")
http://gist.github.com/74847
works fine with JRuby 1.1.6 (and ruby1.8.6 + 1.9.1p0)
On JRuby 1.2.0, it gives :
jmettr...@sanma ~/tmp/ffi $ jruby120 event.rb
dyld: lazy symbol binding failed: Symbol not found: _event_base_new
Referenced from: /opt/local/lib/libevent.dylib
Expected in: flat namespace
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email