12.10: pysvn import error: _pysvn_2_7.so: undefined symbol: svn_sort_compare_items_as_paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
W3af |
New
|
Undecided
|
Unassigned | ||
pysvn (Ubuntu) |
Fix Released
|
High
|
Brian Murray |
Bug Description
./w3af_gui
Your python installation needs the following packages:
pysvn
On debian based systems:
sudo apt-get install python-svn
Additional information:
It looks like your pysvn library installation is broken
(are you using BT4 R2?). The error we get when importing
the pysvn library is "pysvn was built against newer (svn, apr, etc.) libraries then the ones installed on this system. /usr/lib/
This is a BackTrack issue (works with Ubuntu 8.04 and 10.10)
that was fixed by them in their devel repositories, in order to
enable them you need to follow these steps:
1. vim /etc/apt/
2. Un-comment the BackTrack Devel Repository line (deb http://
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-svn 1.7.6-0.1
ProcVersionSign
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu4
Architecture: amd64
Date: Sun Sep 2 18:58:51 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120218)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pysvn
UpgradeStatus: Upgraded to quantal on 2012-09-02 (0 days ago)
Definitely a pysvn bug:
Python 2.7.3 (default, Aug 28 2012, 08:44:13) python2. 7/dist- packages/ pysvn/_ _init__ .py", line 109, in <module> python2. 7/dist- packages/ pysvn/_ pysvn_2_ 7.so: undefined symbol: svn_sort_ compare_ items_as_ paths
[GCC 4.7.1 20120814 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysvn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
raise ImportError( 'pysvn was built against newer (svn, apr, etc.) libraries then the ones installed on this system. %s' % str(e) )
ImportError: pysvn was built against newer (svn, apr, etc.) libraries then the ones installed on this system. /usr/lib/
>>>
Looks like there were changes to Source/ setup_configure .py between 1.7.5 and 1.7.6, and now the -llibrary arguments are in the wrong position when linking. Attaching a debdiff to fix the build. Should probably be forwarded upstream.