[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 18:49:14 CEST

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).

I thought that something changed in current apr cvs, downloaded
it and:

[misiek@arm apr]$ diff -u dso/unix/dso.c~ dso/unix/dso.c
--- dso/unix/dso.c~ Wed Jul 31 18:37:36 2002
+++ dso/unix/dso.c Wed Jul 31 18:34:03 2002
@@ -166,6 +166,7 @@
         flags |= RTLD_MEMBER;
     }
 #endif
+ printf("calling dlopen(\"%s\", %d)\n", path, flags);
     os_handle = dlopen(path, flags);
 #endif
 #endif /* DSO_USE_x */

[misiek@arm subversion]$ svn up
calling dlopen("libsvn_ra_dav.so", 258)
calling dlopen("libsvn_ra_local.so", 258)

svn_error: #21094 : <Bad URL passed to RA layer>
  Unrecognized URL scheme: http://svn.collab.net/repos/svn/trunk
[misiek@arm subversion]$ strace -e open svn up 2>&1 | grep libsvn_ra
open("/usr/lib/libsvn_ra-1.so.0", O_RDONLY) = 3
open("/usr/lib/libsvn_ra_dav.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/users/misiek/s-test/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("/home/users/misiek/s-test/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)
calling dlopen("libsvn_ra_dav.so", 258)
calling dlopen("libsvn_ra_local.so", 258)

Files are there but with -1 prefix.

> [misiek@arm misiek]$ ls -l /usr/lib/libsvn*.so
[...]
> [...] /usr/lib/libsvn_ra_dav-1.so -> libsvn_ra_dav-1.so.0.0.0
> [...] /usr/lib/libsvn_ra_local-1.so -> libsvn_ra_local-1.so.0.0.0
[...]

> [misiek@arm misiek]$ ls -l /usr/lib/libsvn*.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
[...]

No idea why dlopen("libxyz.so", ...) opens libxyz-1.so on compilato system :-\

-- 
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 19:05:06 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.