You're looking for a subversion library that would not match the latest wrappers you have build and install.
In other words, you may want to run a find / -name "libsvn*" to find any installed subversion library that could be older than the one you just built, and that would not contain the symbol that is missing for the SWIG wrappers. Your Linux distribution does not provide the Python wrappers for SVN? That would be an easier way to install Trac dependencies than rebuilding them from the sources. Cheers, Manu On 7/13/07, jtuchscherer <[EMAIL PROTECTED]> wrote: > > Could you tell me what exactly I am looking for? I am pretty knew to > administering a subversion server. > > Thank you, > johannes > > On Jul 13, 10:15 am, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote: > > It could comes from a version mismatch between your SWIG wrappers and > > the SVN library that is used. > > > > Have you tried to remove ALL the files from the previous SVN > > installation (using find /, just to be sure ;-)) ? > > > > On 7/13/07, jtuchscherer <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Thank you for this quick repsonse, Emmanuel and Michael. You are > > > great. > > > > > That fixed the problem. But now I have the next problem: undefined > > > symbol: svn_log_changed_path_dup > > > > > Here is the python output. > > > > > Thank you for your help, > > > johannes > > > > > 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: /usr/local/svn/lib/libsvn_swig_py-1.so.0: undefined > > > symbol: svn_log_changed_path_dup > > > > > On Jul 13, 10:06 am, Michael Ekstrand <[EMAIL PROTECTED]> > > > wrote: > > > > 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 > > > > -- > > Manu > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
