Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Ruby bindings will not load. #182

Open
eilers opened this issue Oct 1, 2014 · 1 comment
Open

Generated Ruby bindings will not load. #182

eilers opened this issue Oct 1, 2014 · 1 comment

Comments

@eilers
Copy link

eilers commented Oct 1, 2014

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
Copy link
Author

eilers commented Oct 2, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant