[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: swig py binding

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-02-22 21:10:22 CET

Tun Tun Naing wrote:
> Thank you so much. Now I'm getting this error message.
>
> Traceback (most recent call last):
> File "svnlook.py", line 23, in ?
> from svn import core, fs, delta, repos
> File "/usr/local/lib/svn-python/svn/core.py", line 21, in ?
> from libsvn.core import *
> File "/usr/local/lib/svn-python/libsvn/core.py", line 4, in ?
> import _core
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/local/lib/python2.3/site-packages/libsvn/_core.so: symbol
> SWIG_Python_TypeRegister: referenced symbol not found
>
> I'm using swig 1.3.19.
>
> $strings /usr/local/lib/python2.3/site-packages/libsvn/_core.so | grep
> SWIG SWIG_Python_TypeClientData SWIG_Python_TypeRegister SWIG_newvarlink
> SWIG_Python_NewPointerObj SWIG_ConvertPtr SWIG_InstallConstants
> SVN_ERR_SWIG_PY_EXCEPTION_SET SWIG_SVN_INVALID_REVNUM
> SWIG_SVN_IGNORED_REVNUM
>
> any advice?

...

>> Tun Tun Naing wrote:
>>> I'm trying to make swig py binding on solaris using swig 1.3.21.

It appears you got a mixture of pieces of various versions of SWIG
installed.

Remove all traces of SWIG from your machine, then install one version
properly.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 21:12:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.