Have you run ldconfig to rebuild the loader's cache ?

Cheers,
Manu

On 7/13/07, jtuchscherer <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> Initially I didn't use the repository module and used Trac only as a
> wiki and bug tracking tool. Now I also would like to connect to my svn
> repository which is on the same server. So I tried to reconfigure
> subversion and install swig-py, but I didn't get it running. I
> followed the instructions from this page 
> http://trac.edgewall.org/wiki/TracSubversion
> The svn version  was 1.2.3, but yesterday I installed 1.4.4 over the
> existing installation. In addition I also installed the most recent
> swig packet (1.3.31). I did the ./configure make make install for
> subversion and then I did the make swig-py and make install-swig-py.
> This went without any problems and I had the libsvn, svn and svn-
> python symlinks in my python/site-package folder. But for some reason
> it is not finding the libsvn_swig_py-1.so.0.
>
> 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.
>
> Thanks,
> Johannes
>
>
> >
>


-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
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