Forum: Ruby Help with Camellia

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C276b65ba29e2aedbfd7f4806ba56c4e?d=identicon&s=25 Guillaume Nargeot (Guest)
on 2007-03-22 02:51
(Received via mailing list)
Hello,

I've tried to install the computer vision library Camellia for ruby,
with
the normal way, on linux, with the root account, but while I try to run
the
test files located into the /test/ directory, I always get the following
error:

guillaume:/home/guillaume/Desktop/CamelliaLib-2.5.10 # ruby
test/test_hough.rb
test/test_hough.rb:2:in `require': no such file to load -- lib/camellia
(LoadError)
        from test/test_hough.rb:2

I then tried to manually copy the library files into
/usr/lib/ruby/1.8/lib/
And then I got the following error while running again the test scripts
:

/usr/lib/ruby/1.8/lib/camellia.so: /usr/lib/ruby/1.8/lib/camellia.so:
undefined symbol: __gxx_personality_v0 -
/usr/lib/ruby/1.8/lib/camellia.so
(LoadError)
        from ./test/test_labeling.rb:2
        from ts_camellia.rb:2:in `require'
        from ts_camellia.rb:2

Actually, the executable test file (cam_demo) seems to be perfectly
working
(anyway, I didn't even try to write my own C file and compile it)... but
what I want is to use the ruby interface.

So, is there anynone who has an idea on how to get it working properly ?

Thanks in advance !
This topic is locked and can not be replied to.