From: Belorion Date: 2005-08-01T10:38:14+09:00 Subject: Re: ruby/swig/svn load error On 7/31/05, Kouhei Sutou wrote: > You can compile with SWIG 1.3.25 by applying the attached > patch. This change is included in trunk. I think you forgot to attach the patch :). Where would I find it online? I am browsing the CVS repository on sourceforge, but can't seem to find the file I need. > 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 linux-gate.so.1 => (0xffffe000) libsvn_swig_ruby-1.so.0 => not found libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0x40026000) libsvn_diff-1.so.0 => /usr/local/lib/libsvn_diff-1.so.0 (0x4002f000) libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x40035000) libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x40057000) librt.so.1 => /lib/tls/librt.so.1 (0x40077000) libm.so.6 => /lib/tls/libm.so.6 (0x4007f000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x400a1000) libnsl.so.1 => /lib/libnsl.so.1 (0x400d3000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x400e8000) libdl.so.2 => /lib/libdl.so.2 (0x400f8000) libc.so.6 => /lib/tls/libc.so.6 (0x400fb000) libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0 (0x40210000) libdb-4.2.so => /usr/lib/tls/libdb-4.2.so (0x40225000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x402fb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > (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? After doing those two things, the errors went away. (still using 1.3.24) Thanks a lot for the speedy reply. Once I can find the patch for 1.3.25, I'll see how that one works. Matt