[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: Arkadiusz Miskiewicz <misiek_at_pld.ORG.PL>
Date: 2002-07-31 20:11:12 CEST

Philip Martin <philip@codematters.co.uk> writes:

> > 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.
On my systems these are dlopen()ed modules:

[misiek@arm misiek]$ ldd /usr/bin/svn | grep ra
        libsvn_ra-1.so.0 => /usr/lib/libsvn_ra-1.so.0 (0x00156000)

Compile with --enable-dso and you will see the problem.

Someone asked already about moving ,,version'' from build.conf
to configure + passing it to load_ra_module but there was no reply.

> Philip Martin

-- 
Arkadiusz Mi¶kiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 20:12:02 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.