*.so loading 'fox' and 'RMagick' please help

(1)

irb(main):001:0> require 'RMagick’
LoadError: /usr/lib/ruby/1.6/i386-linux/RMagick.so: undefined symbol:
ReadImage - /usr/lib/ruby/1.6/i386-linux/RMagick.so
from /usr/lib/ruby/1.6/RMagick.rb:11:in require' from /usr/lib/ruby/1.6/RMagick.rb:11 from (irb):1:inrequire’
from (irb):1
irb(main):002:0> require 'fox’
LoadError: /usr/lib/ruby/1.6/i386-linux/fox.so: undefined symbol:
_ZN5FXApp9metaClassE - /usr/lib/ruby/1.6/i386-linux/fox.so
from (irb):2:in `require’
from (irb):2
irb(main):003:0>

(2)

drejewic@staff57:/usr/lib/ruby/1.6/i386-linux$ ls
…dln.h fox.so node.h regex.h rubysig.h util.h
deparam.so eruby.so libruby.a pregres.so RMagick.so st.h …

(3)

So what I should do to use Fox and RMagick? (And other ‘so’ libraries in
future I think)

···


Szymon Drejewicz

Szymon Drejewicz wrote:

So what I should do to use Fox and RMagick? (And other ‘so’ libraries in
future I think)

The loader can’t find the libraries that these extensions depend on;
e.g. “fox.so” depends on libFOX.so, which apparently isn’t in the search
path. See the information under “Cannot load library” on this page:

 http://www.fxruby.org/doc/build.html

Hope this helps,

Lyle