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

Re: Problem with undefined symbol when running Subversion

From: Adam Stein <adam_at_scan.mc.xerox.com>
Date: 2005-05-19 16:07:54 CEST

On Wed, 2005-05-18 at 14:22, Adam Stein wrote:
> On Wed, 2005-05-18 at 11:21, kfogel@collab.net wrote:
> > Adam Stein <adam@scan.mc.xerox.com> writes:
> > > This is my first time with Subversion. I downloaded the source for
> > > v1.1.4 and compiled on a Red Hat 9 system. When I installed, all the
> > > programs in bin worked (as in I could run and get an error message that
> > > I wasn't using any options yet) except for 'svn' and 'svnversion'. Both
> > > of these programs gave me the error:
> > >
> > > svn: relocation error: /packages/subversion/lib/libsvn_client-1.so.0:
> > > undefined symbol: svn_ra_dav_init
> > >
> > > ...
> >
> > Do you mean that you compiled and ran this on some other machine (that
> > never had Subversion installed before), or does "this" refer to the
> > recipe above, and you mean that you did all the above on a machine
> > that never had Subversion installed before?
> >
> > This sort of problem can happen when different versions of the
> > Subversion libraries are mixed. I suspect you did have an old
> > Subversion installed before, perhaps it came from the operating
> > system? Find all locations of things called "libsvn*" on your system,
> > and send us an 'ls -l' of those things, maybe?
> >
> > -Karl

Just saw on a recent note about compiling problems on OS X that the
person needed to use the '--disable-shared' flag. I tried it and that
solved my problems. Not sure what library isn't being loaded when
compiling dynamic, but compiling static fixes it at least for this
version (I'll have to try dynamic libs again in future versions).

If anybody would like to continue debugging shared libraries and the
svn_ra_dav_init symbol, just let me know what you would like me to try.

Adam Stein @ Xerox Corporation       Email: adam@scan.mc.xerox.com
Disclaimer: Any/All views expressed
here have been proved to be my own.  [http://www.csh.rit.edu/~adam/]
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 19 16:11:13 2005

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.