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

Re: [Subclipse-users] libsvnjavahl problems with subversion 1.6

From: Mika Laitio <lamikr_at_pilppa.org>
Date: Sat, 28 Mar 2009 20:00:17 +0200 (EET)

> I have packaged up the JavaHL tests in a way that it is easy to run
> them. Create a folder on your desktop and download the attached .jar
> file to this folder. Then open a terminal and cd to the folder you
> created. Then run:
>
> $ java -jar javahltests.jar
> .........................................
> .........
> Time: 145.805
>
> OK (50 tests)
>
> Be sure to do this all within a new folder as the tests create a bunch
> of stuff you will want to be able to delete easily.

Thanks for this test app. It helped me to figure out what was the
problem. In the beginning the library load failed even when I set the
-Djava.library.path manually.

[lamikr_at_localhost subclipse]$ java -Djava.library.path=/usr/lib -jar
javahltests.jar
.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
E.E.E.E.E.E.E.E.E.E
Time: 1.215
There were 50 errors:
1)
testCreate(org.tigris.subversion.javahl.SVNAdminTests)java.lang.UnsatisfiedLinkError:
no svnjavahl-1 in java.library.path
         at java.lang.ClassLoader.loadLibrary(CFrom dast_at_giant.haxx.se Sat Mar 28 22:23:46 2009
Return-Path: <dast_at_giant.haxx.se>
Received: from giant.haxx.se (root_at_giant.haxx.se [83.168.254.42])
        by kluster1.contactor.se (8.13.8/8.13.8/Debian-3) with ESMTP id n2SLNjKD026918
        for <daniel.stenberg_at_contactor.se>; Sat, 28 Mar 2009 22:23:46 +0100
Received: from giant.haxx.se (dast_at_localhost.localdomain [127.0.0.1])
        by giant.haxx.se (8.14.3/8.14.3/Debian-5) with ESMTP id n2SLNhIu032342
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
        for <daniel.stenberg_at_contactor.se>; Sat, 28 Mar 2009 22:23:43 +0100
Received: (from dast_at_localhost)
        by giant.haxx.se (8.14.3/8.14.3/Submit) id n2SLNhrb032339
        for daniel.stenberg_at_contactor.se; Sat, 28 Mar 2009 22:23:43 +0100
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on giant.haxx.se
X-Spam-Level:
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,WHOIS_MYPRIVREG
        autolearn=no version=3.2.5
Received: from sc157-tigr.sjc.collab.net (sc157.sjc.collab.net [204.16.104.146])
        by giant.haxx.se (8.14.3/8.14.3/Debian-5) with ESMTP id n2SLNg2J032319
        for <daniel_at_haxx.se>; Sat, 28 Mar 2009 22:23:42 +0100
Received: from sc157-tigr.sjc.collab.net (localhost [127.0.0.1])
        by sc157-tigr.sjc.collab.net (Postfix) with ESMTP id 2BC2E7B08FF;
        Sat, 28 Mar 2009 14:23:37 -0700 (PDT)
Received: from localhost ([127.0.0.1]) by Mail Reader Service (JAMES SMTP Server 2.3.0) with SMTP ID 238 for <users_at_subclipse.tigris.org.mrs>; Fri, 27 Mar 2009 20:13:10 -0700 (PDT)
Received: from cylon1.sjc.collab.net (cylon1.sjc.collab.net [204.16.104.10]) by sc157-tigr.sjc.collab.net (Postfix) with ESMTP id 502F97B0867 for <users_at_subclipse.tigris.org>; Fri, 27 Mar 2009 20:13:10 -0700 (PDT)
Received: from kuber.nabble.com ([216.139.236.158]) by cylon1.sjc.collab.net with ESMTP/TLS/AES256-SHA; 27 Mar 2009 20:13:10 -0700
Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <lists_at_nabble.com>) id 1LnOyq-00061K-TW for users_at_subclipse.tigris.org; Fri, 27 Mar 2009 20:13:08 -0700
Date: Fri, 27 Mar 2009 20:13:08 -0700 (PDT)
From: Ken-JP <kfmfe04_at_gmail.com>
Reply-To: users <users_at_subclipse.tigris.org>
To: users_at_subclipse.tigris.org
Message-ID: <22753326.post_at_talk.nabble.com>
In-Reply-To: <22731567.post_at_talk.nabble.com>
References: <1214860803.16689.12.camel_at_raul.n-gage.com> <22731567.post_at_talk.nabble.com>
Subject: Re: [Subclipse-users] Eclipse 3.4 gives "Unable to load default SVN
 Client"
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: kfmfe04_at_gmail.com
X-IRONPORT: SCANNED
X-IronPort-AV: E=Sophos;i="4.38,436,1233561600"; d="scan'208";a="21571290"
X-IronPort-Anti-Spam-Result: As8BANgyzUnYi+yemGdsb2JhbACWAAEBAQEBCAkMBxGoWZBzg3cG
X-IronPort-Anti-Spam-Filtered: true
Precedence: bulk
List-Id: <users.subclipse.tigris.org>

ptkdb wrote:
>
> We all have this tendency to want the 'latest and greatest'(me too). I
> kept getting the same error on an up-to-date Ubuntu 8.10 linux(Intrepid
> Ibex) but I kept trying to use the 1.6 version. When I got the software
> and components from the http://subclipse.tigris.org/update_1.4.x site it
> started working.
>

I had the exact same issue on a newly installed 3.4.2 on a 32-bit Vista
machine. 0.7 and 1.6 would not recognize any adapters I loaded. Once I
went back to http://subclipse.tigris.org/update_1.4.x , everything was
happy. Thank you for posting this - I was going crazy trying to get it to
run at all...

-- 
View this message in context: http://www.nabble.com/Eclipse-3.4-gives-%22Unable-to-load-default-SVN-Client%22-tp18204631p22753326.html
Sent from the subclipse - users mailing list archive at Nabble.com.
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1451528
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
lassLoader.java:1709)
 	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 	at java.lang.System.loadLibrary(System.java:1030)
 	at 
...
Then I started looking files more in detail as I had:
/usr/lib/libsvnjavahl-1.so.0 and
/usr/lib/libsvnjavahl-1.so.0.0.0
Then I realized that I did not had /usr/lib/libsvnjavahl-1.so.0
So things started working once I created it as a symlink manually:
ln -s /usr/lib/libsvnjavahl-1.so.0 /usr/lib/libsvnjavahl-1.so
Now at least all 50 tests run ok, but some commands like "show history" 
are crashing in eclipse 3.4 when I select some file... I will investigate 
this more...
Anywau I will raise a bug report from this javahl library for Mandriva 
cooker so it can hopefully get fixed before 2009.1 is released.
Mika
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1459004
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-28 22:23:46 CET

This is an archived mail posted to the Subclipse Users mailing list.

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