1 Jun 2011 03:36
ruby extension not loading
serialhex <serialhex <at> gmail.com>
2011-06-01 01:36:24 GMT
2011-06-01 01:36:24 GMT
so i'm working on a project for google summer of code trying to get some swig bindings to ruby working for the machine learning toolkit shogun working. for some reason i can get the sample ruby bindings working fine but when i try to load *any* of the ones from shogun i get this error:
Welcome to IRB. You are using ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]. Have fun ;)
>> require './Evaluation'
LoadError: libshogun.so.10: cannot open shared object file: No such file or directory - ./Evaluation.so
from ./Evaluation.so
from /home/serialhex/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):1
it doesn't matter which one i try to load it gives me the same error. i also thought it was a case error, so i made a sample library named "Foo.rb" with some simple methods and tried "require './Foo'" and it worked fine. so right now i'm kind of stuck and not sure where to look for help on this. googling it didn't come up with anything useful either unfortunately.
if anyone could help me out i would greatly appreciate it
hex
btw: the full code is at:
general swig mappings: https://github.com/serialhex/shogun/tree/master/src/modular
--
> > Other than the fact Linux has a cool name, could someone explain why I > > should use Linux over BSD? > > No. That's it. The cool name, that is. We worked very hard on > creating a name that would appeal to the majority of people, and it > certainly paid off: thousands of people are using linux just to be able > to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the > mistake of putting a lot of numbers and weird abbreviations into the > name, and is scaring away a lot of people just because it sounds too > technical. -- Linus Torvalds' follow-up to a question about Linux
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________ Swig-user mailing list Swig-user <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swig-user
RSS Feed