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

Re: ra_load and wrong loads

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-31 19:17:44 CEST

Arkadiusz Miskiewicz <misiek@pld.ORG.PL> writes:

> Arkadiusz Miskiewicz <misiek@pld.ORG.PL> writes:
>
> > [misiek@arm subversion]$ svn up
> >
> > svn_error: #21091 : <Bad URL passed to RA layer>
> > Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
> >
> > Libs are there with ,,-1'' suffix but svn tries to load versions
> > without that suffix anyway.
>
> I have no idea how this can work for you guys. compilato on #svn
> showed me strace from his svn and it was opening the right one
> module (with -1 suffix).
>
[snip]
> No idea why dlopen("libxyz.so", ...) opens libxyz-1.so on compilato system :-\

On my Linux system

$ ldd /usr/local/subversion/bin/svn | grep _ra
        libsvn_ra-1.so.0 => /usr/local/subversion/lib/libsvn_ra-1.so.0 (0x40050000)
        libsvn_ra_local-1.so.0 => /usr/local/subversion/lib/libsvn_ra_local-1.so.0 (0x40053000)
        libsvn_ra_dav-1.so.0 => /usr/local/subversion/lib/libsvn_ra_dav-1.so.0 (0x4009e000)

$ LD_DEBUG=libs svn st ../svn/README 2>&1 | grep ra_local
31593: find library=libsvn_ra_local-1.so.0; searching
31593: trying file=/usr/local/subversion/lib/libsvn_ra_local-1.so.0
31593: calling init: /usr/local/subversion/lib/libsvn_ra_local-1.so.0
31593: calling fini: /usr/local/subversion/lib/libsvn_ra_local-1.so.0

These show that the libraries are opened as part of normal shared
library opening when the program starts.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 19:18:17 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.