[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 19:44:00 CET

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?

>-----Original Message-----
>From: John Szakmeister [mailto:john@szakmeister.net]
>Sent: Sunday, February 20, 2005 3:52 AM
>To: Tun Tun Naing
>Cc: users@subversion.tigris.org
>Subject: Re: swig py binding
>
>
>Tun Tun Naing wrote:
>> I'm trying to make swig py binding on solaris using swig 1.3.21.
>>
>> here is the whole log. What did I do wrong?
>
>How did you install SWIG? Did you remember to install the
>runtime libraries? i.e., 'make install-runtime'?
>
>> Thanks,
>> Tun
>>
>> make swig-py
>[snip]
>> ld: fatal: library -lswigpy: not found
>> ld: fatal: File processing errors. No output written to
>> .libs/libsvn_swig_py-1.so.0.0.0
>> make: ***
>> [subversion/bindings/swig/python/libsvn_swig_py/libsvn_swig_py-1.la]
>> Error 1
>
>Here it looks like it can't find the some of the libraries for
>SWIG. You either forgot to install the runtime, or forgot to
>add the location of the SWIG runtimes in your lib search path.
>
>-John
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 20:42:06 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.