Unable to load fireruby gem

L

Lee.Longmore

I get the following error when trying to load fireruby, despite having
used "sudo gem install fireruby" to install the gem and confirming
that fr_lib.so exists at the location pointed to by the path.

I have the following in my test program which reports the error (see
below):

require 'rubygems'
require_gem 'fireruby'

*** Error ***

/usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-i586-linux/lib/
fr_lib.so: libfbclient.so.1: cannot open shared object file: No such
file or directory - /usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-
i586-linux/lib/fr_lib.so (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-i586-
linux/lib/fireruby.rb:21
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:282:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:281:in
`each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:281:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`require_gem'
from test.rb:2

Any help appreciated.
 
T

Todd Benson

I get the following error when trying to load fireruby, despite having
used "sudo gem install fireruby" to install the gem and confirming
that fr_lib.so exists at the location pointed to by the path.

I have the following in my test program which reports the error (see
below):

require 'rubygems'
require_gem 'fireruby'

*** Error ***

/usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-i586-linux/lib/
fr_lib.so: libfbclient.so.1: cannot open shared object file: No such
file or directory - /usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-
i586-linux/lib/fr_lib.so (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/fireruby-0.4.0-i586-
linux/lib/fireruby.rb:21
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:32:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:282:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:281:in
`each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:281:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`require_gem'
from test.rb:2

Any help appreciated.

Permissions, maybe?

Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top