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

ra_load and wrong loads

From: Arkadiusz Miskiewicz <misiek_at_pld.ORG.PL>
Date: 2002-07-27 21:17:01 CEST

Hi,

I have problem with subversion. I'm using r2749, configured
using options:

%configure \
        --enable-dso \
        --with-neon=%{_prefix} \
        --with-apr=%{_bindir}/apr-config \
        --with-apr-util=%{_bindir}/apu-config \
        --with-apxs=%{_sbindir}/apxs \
        --with-berkeley-db=%{_includedir}/db4:%{_libdir}

neon-devel-0.21.3-1
apache-devel-2.0.39-0.2
apr-devel-2.0.39-0.2
db4-devel-4.0.14-2
gcc-3.1.1-1 (prerelease)

and
[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.

Also it tries to load libsvn_ra_dav.so instead of libsvn_ra_dav.so.0.
This (so vs so.0) doesn't matter when you are installing everything
but at PLD we have subversion-libs.rpm with lib*.so.*.*.*
and subversion-devel.rpm with lib*.so only.

In such case current svn won't work. Now the question is - are the
libsvn_ra_*.so meant to be libraries or modules? For me they are modules
and IMO should be placed in other location than libs - for example in
/usr/lib/subversion/${VERSION}/libsvn_ra_*.so (with or without SONAME
versioning). Most of programs are doing in this way - separating
dynamic modules from libraries.

[misiek@arm subversion]$ strace -e open svn up 2>&1 | grep libsvn
open("/usr/lib/i686/mmx/libsvn_client-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libsvn_client-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libsvn_client-1.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsvn_client-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_wc-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_ra-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_delta-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_subr-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/mmx/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/mmx/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsvn_ra_local.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libsvn_ra_local.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsvn_ra_local.so", O_RDONLY) = -1 ENOENT (No such file or directory)

[misiek@arm misiek]$ ls -l /usr/lib/libsvn*.so
lrwxr-xr-x 1 root root 22 lip 27 20:59 /usr/lib/libsvn_auth-1.so -> libsvn_auth-1.so.0.0.0
lrwxr-xr-x 1 root root 24 lip 27 20:59 /usr/lib/libsvn_client-1.so -> libsvn_client-1.so.0.0.0
lrwxr-xr-x 1 root root 23 lip 27 20:59 /usr/lib/libsvn_delta-1.so -> libsvn_delta-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_fs-1.so -> libsvn_fs-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_ra-1.so -> libsvn_ra-1.so.0.0.0
lrwxr-xr-x 1 root root 24 lip 27 20:59 /usr/lib/libsvn_ra_dav-1.so -> libsvn_ra_dav-1.so.0.0.0
lrwxr-xr-x 1 root root 26 lip 27 20:59 /usr/lib/libsvn_ra_local-1.so -> libsvn_ra_local-1.so.0.0.0
lrwxr-xr-x 1 root root 23 lip 27 20:59 /usr/lib/libsvn_repos-1.so -> libsvn_repos-1.so.0.0.0
lrwxr-xr-x 1 root root 22 lip 27 20:59 /usr/lib/libsvn_subr-1.so -> libsvn_subr-1.so.0.0.0
lrwxr-xr-x 1 root root 25 lip 27 20:59 /usr/lib/libsvn_swig_py-1.so -> libsvn_swig_py-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_wc-1.so -> libsvn_wc-1.so.0.0.0
[misiek@arm misiek]$ ls -l /usr/lib/libsvn*.so.0
lrwxr-xr-x 1 root root 22 lip 27 20:59 /usr/lib/libsvn_auth-1.so.0 -> libsvn_auth-1.so.0.0.0
lrwxr-xr-x 1 root root 24 lip 27 20:59 /usr/lib/libsvn_client-1.so.0 -> libsvn_client-1.so.0.0.0
lrwxr-xr-x 1 root root 23 lip 27 20:59 /usr/lib/libsvn_delta-1.so.0 -> libsvn_delta-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_fs-1.so.0 -> libsvn_fs-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_ra-1.so.0 -> libsvn_ra-1.so.0.0.0
lrwxr-xr-x 1 root root 24 lip 27 20:59 /usr/lib/libsvn_ra_dav-1.so.0 -> libsvn_ra_dav-1.so.0.0.0
lrwxr-xr-x 1 root root 26 lip 27 20:59 /usr/lib/libsvn_ra_local-1.so.0 -> libsvn_ra_local-1.so.0.0.0
lrwxr-xr-x 1 root root 23 lip 27 20:59 /usr/lib/libsvn_repos-1.so.0 -> libsvn_repos-1.so.0.0.0
lrwxr-xr-x 1 root root 22 lip 27 20:59 /usr/lib/libsvn_subr-1.so.0 -> libsvn_subr-1.so.0.0.0
lrwxr-xr-x 1 root root 25 lip 27 20:59 /usr/lib/libsvn_swig_py-1.so.0 -> libsvn_swig_py-1.so.0.0.0
lrwxr-xr-x 1 root root 20 lip 27 20:59 /usr/lib/libsvn_wc-1.so.0 -> libsvn_wc-1.so.0.0.0
[misiek@arm misiek]$ ls -l /usr/lib/libsvn*.so.0.0.0
-rwxr-xr-x 1 root root 3712 lip 27 20:58 /usr/lib/libsvn_auth-1.so.0.0.0
-rwxr-xr-x 1 root root 71692 lip 27 20:58 /usr/lib/libsvn_client-1.so.0.0.0
-rwxr-xr-x 1 root root 49824 lip 27 20:58 /usr/lib/libsvn_delta-1.so.0.0.0
-rwxr-xr-x 1 root root 113024 lip 27 20:58 /usr/lib/libsvn_fs-1.so.0.0.0
-rwxr-xr-x 1 root root 5792 lip 27 20:58 /usr/lib/libsvn_ra-1.so.0.0.0
-rwxr-xr-x 1 root root 57188 lip 27 20:58 /usr/lib/libsvn_ra_dav-1.so.0.0.0
-rwxr-xr-x 1 root root 19208 lip 27 20:58 /usr/lib/libsvn_ra_local-1.so.0.0.0
-rwxr-xr-x 1 root root 49828 lip 27 20:58 /usr/lib/libsvn_repos-1.so.0.0.0
-rwxr-xr-x 1 root root 92460 lip 27 20:58 /usr/lib/libsvn_subr-1.so.0.0.0
-rwxr-xr-x 1 root root 9756 lip 27 20:58 /usr/lib/libsvn_swig_py-1.so.0.0.0
-rwxr-xr-x 1 root root 116936 lip 27 20:58 /usr/lib/libsvn_wc-1.so.0.0.0

-- 
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 Sat Jul 27 22:14:44 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.