On Tue, Oct 7, 2008 at 11:58 PM, Meryl Silverburgh
<silverburgh.meryl_at_gmail.com> wrote:
> Hi,
>
> I am trying to compile subversion python binding in subversion 1.5.2 on ubuntu.
>
> So I get the source of neon, apr and apr-util and put it under subversion 1.5.2.
>
> And then I do
>
> $ ./configure --prefix=/home/meryl/bin --with-swig=/home/meryl/bin --with-ssl
> $ make
> $ make install
> $ make swig-py
> $ make install-swig-py
>
> And then I set the pythonpath correctly:
>
> echo $PYTHONPATH
> /home/meryl/bin/lib/svn-python
>
> But when i do a test (like below), i get the following error:
>
> $ python -c 'from svn import client'
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/home/scheung/bin/lib/svn-python/svn/client.py", line 19, in <module>
> from libsvn.client import *
> File "/home/scheung/bin/lib/svn-python/libsvn/client.py", line 7, in <module>
> import _client
> ImportError: /home/scheung/bin/lib/libsvn_ra_neon-1.so.0: undefined
> symbol: GENERAL_NAME_free
>
>
> Can you please help me why?
>
> Thank you.
>
I have tried using 'ldd for the so file' and then set the
LD_LIBRARY_PATH correctly.
But that still does not fix the problem:
$ ldd libsvn_ra_neon-1.so.0
linux-gate.so.1 => (0xb7f92000)
libsvn_delta-1.so.0 => /home/meryl/bin/lib/libsvn_delta-1.so.0 (0xb7f4a000)
libsvn_subr-1.so.0 => /home/meryl/bin/lib/libsvn_subr-1.so.0 (0xb7f12000)
libaprutil-0.so.0 => /home/meryl/bin/lib/libaprutil-0.so.0 (0xb7efc000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7edb000)
libapr-0.so.0 => /home/meryl/bin/lib/libapr-0.so.0 (0xb7eb9000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7eb0000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e8b000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7e58000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e40000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e28000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e24000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cd5000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7cc0000)
/lib/ld-linux.so.2 (0xb7f93000)
$ echo $LD_LIBRARY_PATH
/home/meryl/bin/lib:/home/meryl/bin/lib:/home/meryl/bin/lib::/usr/lib:/usr/local/lib:/usr/lib:/usr/local/lib:/lib/tls/i686/cmov/:/usr/lib:/usr/local/lib:/lib/tls/i686/cmov:
$ python -c 'from svn import client'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/meryl/bin/lib/svn-python/svn/client.py", line 19, in <module>
from libsvn.client import *
File "/home/meryl/bin/lib/svn-python/libsvn/client.py", line 7, in <module>
import _client
ImportError: /home/meryl/bin/lib/libsvn_ra_neon-1.so.0: undefined
symbol: GENERAL_NAME_free
Any help is appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-08 08:23:35 CEST