On Fri, Jul 13, 2007 at 09:59:37AM -0700, jtuchscherer wrote:
> Here is the output from the python console if I try to import from
> svn:
> 
> # python
> Python 2.5 (r25:51908, Mar 21 2007, 14:25:09)
> [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-20)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from svn import core
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/svn-python/svn/core.py", line 19, in <module>
>     from libsvn.core import *
>   File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in <module>
>     import _core
> ImportError: libsvn_swig_py-1.so.0: cannot open shared object file: No
> such file or directory
> >>>
> 
> Here is some more debug output:
> # ldd /usr/local/lib/svn-python/libsvn/_core.so
>         libsvn_swig_py-1.so.0 => not found
>         libsvn_delta-1.so.0 => /usr/local/svn/lib/libsvn_delta-1.so.0
> (0xb759d000)
>         libsvn_diff-1.so.0 => /usr/local/svn/lib/libsvn_diff-1.so.0
> (0xb7597000)
>         libsvn_subr-1.so.0 => /usr/local/svn/lib/libsvn_subr-1.so.0
> (0xb7575000)
>         libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0xb7557000)
>         librt.so.1 => /lib/tls/librt.so.1 (0xb7543000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7520000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0xb74f3000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0xb74de000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb74ce000)
>         libdl.so.2 => /lib/libdl.so.2 (0xb74cb000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb74bd000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7385000)
>         libaprutil-0.so.0 => /usr/local/svn-1.2.3//lib/libaprutil-0.so.
> 0 (0xb7371000)
>         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0xb736a000)
>         libdb-4.1.so => /lib/libdb-4.1.so (0xb72a8000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7288000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> 
> I don't know why it is not finding the libsvn_swig_py-1.so.0. I see it
> in /usr/local/lib/.
> 
> Any help would be deeply appreciated.

Try running ldconfig on /usr/local/lib and see if that fixes it.

- Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to