Mailing List Archive

ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery
Hi,

I need to install trac on a suse linux 8.2.

I compiled subversion 1.0.6 (tried 1.0.5 also) with swig-py support, swig 1.3.22 (tried 1.3.21 also),
python2.3, clearsilver, pyxml ...

LD path is /home/asas/lib including swig libs and svn-libs.

If I run trac-admin i get the following output:

[code]
asas@hier:~> trac-admin
Traceback (most recent call last):
File "/home/asas/bin/trac-admin", line 34, in ?
from trac import sync
File "/home/asas/lib/python2.3/site-packages/trac/sync.py", line 22, in ?
from svn import fs, util, delta, repos, core
File "/home/asas/lib/svn-python/svn/fs.py", line 27, in ?
File "/home/asas/lib/svn-python/libsvn/fs.py", line 5, in ?
ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery
[/code]

Does anybody knows how i can solve this ?
ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery [ In reply to ]
Arvid Walter wrote:
> Hi,
>
> I need to install trac on a suse linux 8.2.
>
> I compiled subversion 1.0.6 (tried 1.0.5 also) with swig-py support, swig 1.3.22 (tried 1.3.21 also),
> python2.3, clearsilver, pyxml ...
>
<snip>
> ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery
> [/code]
>
> Does anybody knows how i can solve this ?
I am by no means an expert, but it looks a bit like subversion may have
been built against a different version of swig than the one it uses at
runtime?

Do you have any (stale) swig libraries around svn could have picked up
on build time?

Cheers,
Rob
ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery [ In reply to ]
On Tue, 14 Sep 2004 16:43:41 +0200
Rob Hoopman <rob@cryp2nite.nl> wrote:

> Arvid Walter wrote:
> > Hi,
> >
> > I need to install trac on a suse linux 8.2.
> >
> > I compiled subversion 1.0.6 (tried 1.0.5 also) with swig-py support, swig 1.3.22 (tried 1.3.21 also),
> > python2.3, clearsilver, pyxml ...
> >
> <snip>
> > ImportError: /home/asas/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery
> > [/code]
> >
> > Does anybody knows how i can solve this ?
> I am by no means an expert, but it looks a bit like subversion may have
> been built against a different version of swig than the one it uses at
> runtime?

Thx.
-lswigpy instead of -L/home/asas/lib -lswigpy

>
> Do you have any (stale) swig libraries around svn could have picked up
> on build time?
>
> Cheers,
> Rob
> _______________________________________________
> Trac mailing list
> Trac@lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>