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

Re: Undefined Symbols in libsvn_ra_dav-1.so.0

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-15 10:01:23 CEST

On Apr 14, 2007, at 17:16, Jeremy Whitlock wrote:

> I have compiled Subversion and the Python bindings for using
> ViewVC. When I browse a repository with ViewVC, I get the following:
>
> Traceback (most recent call last):
> File "/usr/subversion/viewvc/lib/viewvc.py", line 3629, in main
> request.run_viewvc()
> File "/usr/subversion/viewvc/lib/viewvc.py", line 253, in run_viewvc
> import vclib.svn
> File "/usr/subversion/viewvc/lib/vclib/svn/__init__.py", line 25, in ?
> from svn import fs, repos, core, delta
> File "/usr/subversion/subversion/lib/svn-python/svn/fs.py", line
> 19, in ?
> from libsvn.fs import *
> File "/usr/subversion/subversion/lib/svn-python/libsvn/fs.py", line
> 5, in ?
> import _fs
> ImportError: /usr/subversion/subversion/lib/libsvn_ra_dav-1.so.0:
> undefined symbol: xmlCreatePushParserCtxt
> When I run ldd against the library, I get this:
>
> [jwhitlock@BSN-SUBVERSION1 subversion_server]$ ldd -d /usr/
> subversion/subversion/lib/libsvn_ra_dav- 1.so.0
> libsvn_delta-1.so.0 => /usr/subversion/subversion/lib/
> libsvn_delta-1.so.0 (0x00739000)
> libsvn_subr-1.so.0 => /usr/subversion/subversion/lib/
> libsvn_subr-1.so.0 (0x00f7c000)
> libaprutil-1.so.0 => /usr/subversion/apache2/lib/
> libaprutil-1.so.0 (0x00d81000)
> libldap-2.3.so.0 => /usr/subversion/openldap/lib/
> libldap-2.3.so.0 (0x00111000)
> liblber-2.3.so.0 => /usr/subversion/openldap/lib/liblber-
> 2.3.so.0 (0x00797000)
> libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00b43000)
> libapr-1.so.0 => /usr/subversion/apache2/lib/libapr-1.so.0
> (0x00b72000)
> libuuid.so.1 => /lib/libuuid.so.1 (0x0061f000)
> librt.so.1 => /lib/tls/librt.so.1 (0x0093e000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x00141000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0x008e0000)
> libdl.so.2 => /lib/libdl.so.2 (0x0064e000)
> libc.so.6 => /lib/tls/libc.so.6 (0x0016f000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x00806000)
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00298000)
> libssl.so.4 => /lib/libssl.so.4 (0x00689000)
> libcrypto.so.4 => /lib/libcrypto.so.4 (0x002ac000)
> /lib/ld-linux.so.2 (0x00449000)
> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
> (0x00395000)
> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x004d6000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0x00962000)
> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x003a9000)
> libz.so.1 => /usr/lib/libz.so.1 (0x0057b000)
> undefined symbol: xmlCreatePushParserCtxt (/usr/subversion/
> subversion/lib/libsvn_ra_dav- 1.so.0)
> undefined symbol: xmlParseChunk (/usr/subversion/subversion/lib/
> libsvn_ra_dav-1.so.0)
> undefined symbol: xmlFreeParserCtxt (/usr/subversion/subversion/
> lib/libsvn_ra_dav-1.so.0)
>
> What do I need to do to get this to work? I'm sure I messed
> something up in the compile process of Subversion.

xmlCreatePushParserCtxt, xmlParseChunk and xmlFreeParserCtxt all seem
to be in libxml2. I don't understand Subversion's complaint, since I
didn't think Subversion depended on libxml2 (and on my system it
doesn't).

The only XML thing I know of in Subversion is expat. I see that
you're using your system's expat... Maybe it's out of date? Maybe you
should install a new expat in /usr/subversion along with the rest of
the stuff you're building there? May be worth a shot.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 15 10:02:10 2007

This is an archived mail posted to the Subversion Users mailing list.