[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: Tun Tun Naing <tnaing_at_apelon.com>
Date: 2005-02-22 21:36:48 CET

After I clean up and reinstall the SWIG 1.3.21, I got this 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_InstallConstants: referenced symbol not found

>-----Original Message-----
>From: mob22@hermes.cam.ac.uk [mailto:mob22@hermes.cam.ac.uk]
>On Behalf Of Max Bowsher
>Sent: Tuesday, February 22, 2005 12:10 PM
>To: Tun Tun Naing
>Cc: users@subversion.tigris.org
>Subject: Re: swig py binding
>
>
>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 23:43:54 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.