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

RE: Can't get Python bindings to work

From: Fancher, Bruce <bfancher_at_hfmus.com>
Date: 2004-12-25 21:19:22 CET

Thanks for your response. Unfortunately, I've also tried SWIG-1.3.19 and 1.3.21 and gotten identical results, so I don't think that's the problem. Anyone have any other suggestions?

Thanks!

-----Original Message-----
From: John Szakmeister [mailto:john@szakmeister.net]
Sent: Sat 12/25/2004 2:21 PM
To: Fancher, Bruce
Cc: users@subversion.tigris.org
Subject: Re: Can't get Python bindings to work
 
On Saturday 25 December 2004 12:52, Fancher, Bruce wrote:
> Hi. I've got Subversion 1.1.1 compiled, installed and running just
> fine under Red Hat EL3. However, I'm trying to get the Python binding
> installed properly so that I can use Trac, and I'm having trouble.
> When I try to run any of the Python examples, I get the following:
>
> [root@meatwad subversion-1.1.1]# ./tools/examples/svnshell.py
> Traceback (most recent call last):
> File "./tools/examples/svnshell.py", line 25, in ?
> from svn import fs, core, repos
> File "/usr/local/lib/svn-python/svn/fs.py", line 28, in ?
> import libsvn.fs
> File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
> import _fs
> ImportError: /usr/local/lib/libsvn_swig_py-1.so.0: undefined symbol:
> SWIG_Python_NewPointerObj
>
> I've got SWIG-1.3.24 installed.

We only support up to SWIG 1.3.21. I believe there is something in the
works for 1.3.24, but it hasn't been worked out yet.

-John
Received on Sat Dec 25 21:19:36 2004

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.