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

Problem compiling python-bindings

From: Martin <html-kurs_at_gmx.de>
Date: Tue, 22 Apr 2008 23:14:03 +0200

Hi,

I've got problems compiling the python binding (I need them for trac...)

I've downloaded subversion-1.4.6.tar.gz and
subversion-deps-1.4.6.tar.gz. I unpacked them and did the following
configure-command.
LD_LIBRARY_PATH contains:
> echo $LD_LIBRARY_PATH
/usr/local/subversion/lib/svn-python/libsvn:/usr/local/berkeley-db-4.4.20/lib:/usr/local/sqlite-3.5.8/lib

CFLAGS=-fPIC ./configure --prefix=/usr/local/subversion
--with-berkeley-db=/usr/local/berkeley-db-4.4.20
--with-swig=/usr/local/swig-1.3.25 --with-python=/usr/local/python-2.5.2
--with-ssl

  make
  make install
  make swig-py
  make install-swig-py
  export PYTHONPATH=$PYTHONPATH:/usr/local/subversion/lib/svn-python

I got trouble with trac, the svn access doesn't work. So I tried the
following at python prompt:
> from svn import core
with the result:
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/subversion/lib/svn-python/svn/core.py", line 19, in
<module>
     from libsvn.core import *
   File "/usr/local/subversion/lib/svn-python/libsvn/core.py", line 5,
in <module>
     import _core
ImportError: /usr/local/subversion/lib/libsvn_ra_dav-1.so.0: undefined
symbol: PKCS12_SAFEBAG_free

And the following ldd-output.

> ldd -d /usr/local/subversion/lib/libsvn_ra_dav-1.so.0
undefined symbol: PKCS12_SAFEBAG_free
(/usr/local/subversion/lib/libsvn_ra_dav-1.so.0)
undefined symbol: PKCS7_free
(/usr/local/subversion/lib/libsvn_ra_dav-1.so.0)
undefined symbol: GENERAL_NAME_free
(/usr/local/subversion/lib/libsvn_ra_dav-1.so.0)
         libsvn_delta-1.so.0 =>
/usr/local/subversion/lib/libsvn_delta-1.so.0 (0x00002b172f404000)
         libsvn_subr-1.so.0 =>
/usr/local/subversion/lib/libsvn_subr-1.so.0 (0x00002b172f511000)
         libaprutil-0.so.0 =>
/usr/local/subversion/lib/libaprutil-0.so.0 (0x00002b172f64d000)
         libdb-4.4.so => /usr/local/berkeley-db-4.4.20/lib/libdb-4.4.so
(0x00002b172f76d000)
         libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00002b172f96c000)
         libapr-0.so.0 => /usr/local/subversion/lib/libapr-0.so.0
(0x00002b172fa8f000)
         librt.so.1 => /lib64/librt.so.1 (0x00002b172fbbf000)
         libm.so.6 => /lib64/libm.so.6 (0x00002b172fcc8000)
         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b172fe1d000)
         libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b172ff57000)
         libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b173006d000)
         libdl.so.2 => /lib64/libdl.so.2 (0x00002b1730184000)
         libz.so.1 => /lib64/libz.so.1 (0x00002b1730289000)
         libc.so.6 => /lib64/libc.so.6 (0x00002b173039d000)
         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

I found http://svn.haxx.se/users/archive-2006-09/1192.shtml but
compiling neon seperately won't work either...

So what shall I do now?

Thanks,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-22 23:14:29 CEST

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.