subvertpy error when trying to 'bzr branch' on an svn repo

Jelmer Vernooij jelmer at samba.org
Thu May 7 00:12:13 BST 2009


Hi Paul,

Fanelli, Paul wrote:
>> I have subversion 1.6.1 installed.
>> I downloaded the latest code, built and installed in on a centos 5.1
>> system.
>> It is installed in /usr/local.

According to ldd you also have a copy of Subversion (an older copy?) in
/usr/lib64 and that's being loaded.

> It seems a bit strange that while the modules are linked against
> 
> libsvn_ra_svn-1.so.0 ld.so fails to find svn_ra_get_log2.
> 
> Cheers,
> 
> Jelmer

> I was thinking of maybe installing svn 1.4.3. This is the version I was
> experimenting with and I demo'ed to management with.

> I was just hoping that I could get this to work against the newer
> version of svn just to test it out (and maybe sway management into
> upgrading our ancient svn install).

> Do you know if it is possible to have multiple installs of svn and not
> cause kaos?  What's the best way to do this and not have library
> conflicts? That way, I can try out different versions of svn against bzr
> and see what works best?
If you have multiple versions of Subversion installed in different
locations you need to make sure that subvertpy is compiled against the
right one and that the right one is found at run-time. You can either
remove the one installed on the system (probably the RPM), or override
the path used by ld.so by setting the environment variable
LD_LIBRARY_PATH to /usr/local/lib so it picks up the 1.6 libraries
before the 1.4 ones.

Cheers,

Jelmer



More information about the bazaar mailing list