Todd Benson
9/15/2007 3:40:00 PM
On 9/15/07, Lee.Longmore@googlemail.com <Lee.Longmore@googlemail.com> wrote:
> 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