undefined symbol: GENERAL_NAME_free in neon

ying lcs yinglcs at gmail.com
Wed Oct 8 02:20:40 EDT 2008


On Wed, Oct 8, 2008 at 1:06 AM, ying lcs <yinglcs at gmail.com> wrote:
> Hi,
>
> I am building subversion 1.5.2 which uses neon 0.8.3 as its http library.
>
> When I try to test the subversion python binding, 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 tell me what does the error ': undefined
> symbol: GENERAL_NAME_free' mean? And how can I fix it?
>
> 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/yinglcs/bin/lib/libsvn_delta-1.so.0 (0xb7f4a000)
	libsvn_subr-1.so.0 => /home/yinglcs/bin/lib/libsvn_subr-1.so.0 (0xb7f12000)
	libaprutil-0.so.0 => /home/yinglcs/bin/lib/libaprutil-0.so.0 (0xb7efc000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7edb000)
	libapr-0.so.0 => /home/yinglcs/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/yinglcs/bin/lib:/home/yinglcs/bin/lib:/home/yinglcs/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/yinglcs/bin/lib/svn-python/svn/client.py", line 19, in <module>
    from libsvn.client import *
  File "/home/yinglcs/bin/lib/svn-python/libsvn/client.py", line 7, in <module>
    import _client
ImportError: /home/yinglcs/bin/lib/libsvn_ra_neon-1.so.0: undefined
symbol: GENERAL_NAME_free

Any help is appreciated.




More information about the neon mailing list