HyperDex icon indicating copy to clipboard operation
HyperDex copied to clipboard

Generated Ruby bindings will not load.

Open eilers opened this issue 10 years ago • 1 comments

After successful compilation, I tried to load the binding manually: irb -r ./hyperdex.so

This generates the output: /Users/stefan/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in 'require':LoadError: cannot load such file -- ./hyperdex.so

Any Ideas? Might this be related to issues with the compile chain (Xcode)?

My Platform: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0] Mac OSX 10.9.5 Xcode 6.0.1

eilers avatar Oct 01 '14 20:10 eilers

I have tested multiple ruby versions. Every one with the same result. There is one possible reason left: On the mac there is a difference between shared objects (.so) and Dynamic Linked Libraries (.dylib). Right now I am investigate whether loading of shared objects does not work on ruby ..

eilers avatar Oct 02 '14 06:10 eilers