rescrv / HyperDex

HyperDex is a scalable, searchable key-value store
http://hyperdex.org
BSD 3-Clause "New" or "Revised" License
1.4k stars 167 forks source link

Generated Ruby bindings will not load. #182

Open eilers opened 9 years ago

eilers commented 9 years ago

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 commented 9 years ago

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 ..