Python 2.7.3 (default, Aug 28 2012, 08:44:13)
[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/python2.7/dist-packages/pysvn/__init__.py", line 109, in <module>
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/python2.7/dist-packages/pysvn/_pysvn_2_7.so: undefined symbol: svn_sort_compare_items_as_paths
>>>
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.
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.