From: Belorion Date: 2005-08-01T08:30:53+09:00 Subject: ruby/swig/svn load error I just finished installing the SVN binding for ruby using SWIG 1.3.24 (swig 1.3.25 wouldn't compile -- syntax errors). I reconfigured an reinstalled Subversion (1.2.1) afterwards so that it knew about the bindings (as per the instructions[1]). I did a `make swig-rb` with no problems, a `make check-swig-rb` in which unit tests are run, no problem. I did a make install-swig-rb. However, when I do a `ruby -e 'require "svn/core"' I get this error: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/svn/ext/core.so: libsvn_swig_ruby-1.so.0: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/site_ruby/1.8/i686-linux/svn/ext/core.so (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/svn/error.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/svn/core.rb:3:in `require' from /usr/local/lib/ruby/site_ruby/1.8/svn/core.rb:3 from -e:1:in `require' from -e:1 Now, I can see libsvn_swig_ruby-1.so.0 in /usr/local/lib. Why can't it find it? I don't know if this is relevant, but during the `make install-swig-rb` I get a lot of these "warnings": libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../..//libdb-4.2.la' seems to be moved libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../..//libexpat.la' seems to be moved Anyway, I can run all the unit tests just fine (which obviously use the libraries) if I execute from /usr/local/src/subversion-1.2.1/subversion/bindings/swig/ruby (as root, due to permission issues), but from anywhere else I get the above load error. Anyone have any suggestions? I am using Ruby 1.8.2 (december build), SWIG 1.3.24, and Subversion 1.2.1 on this Suse 9.2 box, and followed the insructions from [1]. Thanks. Matt [1] http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/INSTALL