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

Re: SVN/Python/Shared Library/sccs2svn help please!

From: Joey Mukherjee <joey_at_swri.edu>
Date: 2005-03-16 20:18:36 CET

On Mar 16, 2005, at 11:45 AM, Max Bowsher wrote:

> Joey Mukherjee wrote:
>> I am trying out Robert Zeh's sccs2svn.py script and am having a few
>> problems I'm hoping someone could help me with.
>>
>> The error message I am getting is:
>>
>> Traceback (most recent call last):
>> File "sccs2svn.py", line 42, in ?
>> from svn import fs, repos, core, client, delta
>> File "/opt/local/subversion-1.1.3/lib/svn-python/svn/fs.py", line
>> 28,
>> in ?
>> import libsvn.fs
>> File "/opt/local/subversion-1.1.3/lib/svn-python/libsvn/fs.py", line
>> 5, in ?
>> import _fs
>> ImportError: ld.so.1: python: fatal: relocation error: file
>> /opt/local/subversion-1.1.3/lib/libsvn_swig_py-1.so.0: symbol
>> SWIG_TypeQuery: referenced symbol not found
>>
>> Doing an nm on the _fs.so library shows SWIG_TypeQuery to be in there,
>> but for some reason python can not find it.
>>
>> Does anyone have any ideas on how I can get this to work?
>>
>> I am using Python 2.3.4, swig 1.3.24, and subversion 1.1.3.
>
> Looks like a SWIG version mismatch, to me. I think your version of
> libsvn_swig_py was compiled against an earlier version of swig.

I never had more than one version of SWIG on here. Even so, I did a
make distclean and remade everything. I eventually got everything
remade and now it all seems okay, but I get the exact same error.

Possibly Subversion does not work with this version of SWIG? It gave
me a warning about the version of SWIG.

Joey

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 20:25:28 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.