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

Python bindings

From: Raman Gupta <rocketraman_at_fastmail.fm>
Date: 2004-09-02 01:22:41 CEST

I am building Subversion 1.0.6 on Solaris 2.6 with the python Swig bindings. I have managed to get as far as successfully creating my binaries and shared libraries.

However, when I try to execute a python program that imports svn.fs (such as the svnshell.py or ViewCVS), I get the following error:

$ ./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 27, in ?
    import libsvn.fs
  File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
    import _fs
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/libsvn_fs-1.so.0: symbol __eprintf: referenced symbol not found

I think this usenet post explains it, though I certainly don't understand it:

http://groups.google.com/groups?q=symbol+__eprintf:+referenced+symbol+not+found&hl=en&lr=&ie=UTF-8&selm=wyvg8mktrj.fsf%40tools.de&rnum=3
 - or -
http://tinyurl.com/5arce

More info about my environment:

$ uname -a
SunOS hostname 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-4

$ gcc --version
gcc (GCC) 3.4.1
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Can the gurus on this list help me to fix this, or is this something that is not easily fixed and requires a bug report? I can re-configure and re-compile if necessary, or upgrade to 1.1 RC2.

Thanks,
Raman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 2 01:23:03 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.