From: Kouhei Sutou Date: 2005-08-01T10:10:11+09:00 Subject: Re: ruby/swig/svn load error Hi, In "ruby/swig/svn load error" on Mon, 1 Aug 2005 08:30:53 +0900, Belorion wrote: > I just finished installing the SVN binding for ruby using SWIG 1.3.24 > (swig 1.3.25 wouldn't compile -- syntax errors). You can compile with SWIG 1.3.25 by applying the attached patch. This change is included in trunk. > 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) snip > Now, I can see libsvn_swig_ruby-1.so.0 in /usr/local/lib. Why can't it find it? Could you show me the result of the following commands? (1) % ldd /usr/local/lib/ruby/site_ruby/1.8/i686-linux/svn/ext/core.so (2) % env LD_LIBRARY_PATH=/usr/local/lib ldd /usr/local/lib/ruby/site_ruby/1.8/i686-linux/svn/ext/core.so (3) % env LD_LIBRARY_PATH=/usr/local/lib ruby -e 'require "svn/core"' If (2) and (3) don't occur any errors, could you re-configure with --prefix=/usr option? Thanks, -- kou