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

Re: [Subclipse-users] fail to load java

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 7 May 2009 14:23:12 -0700

Just install it from Subclipse update site (you likely already have).
In Eclipse preferences choose Team > SVN and pick it as the default
provider.

On Thu, May 7, 2009 at 2:21 PM, Mark Russell
<mark_russell_at_instantiations.com> wrote:
> Found lots of references to that symbol and no solutions.
>
> Can you point me to a link on how to use the SVN Kit?
> On Thu, 2009-05-07 at 14:04 -0700, Mark Phippard wrote:
>> Those are the results I would have expected.
>>
>> Google for _ZNSs4_Rep20_S_empty_rep_storageE
>>
>> It looks like it could be a mismatch of the glibc or c++ library?
>> That is one of the handful that the CollabNet package does not provide
>> and uses what is on the system.
>>
>> You may need to use SVNKit if you cannot figure out how to get a
>> compaitble C runtime library in place.
>>
>> Mark
>>
>>
>> On Thu, May 7, 2009 at 2:00 PM, Mark Russell
>> <mark_russell_at_instantiations.com> wrote:
>> > here is what I get:
>> > [markr_at_desktop tmpJavaHl]$ cp ../downloads/javahltests.jar .
>> > [markr_at_desktop tmpJavaHl]$ java
>> > -Djava.library.path=/opt/CollabNet_Subversion/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: 0.028
>> > There were 50 errors:
>> > 1)
>> > testCreate(org.tigris.subversion.javahl.SVNAdminTests)java.lang.UnsatisfiedLinkError: /opt/CollabNet_Subversion/lib/libsvnjavahl-1.so.0.0.0: /opt/CollabNet_Subversion/lib/libsvnjavahl-1.so.0.0.0: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
>> >        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>> >        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
>> >        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
>> >        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>> >        at java.lang.System.loadLibrary(System.java:1030)
>> >        at
>> > org.tigris.subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.java:79)
>> >        at
>> > org.tigris.subversion.javahl.SVNAdmin.<clinit>(SVNAdmin.java:32)
>> >        at
>> > org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
>> >        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
>> > 2)
>> > testSetRevProp(org.tigris.subversion.javahl.SVNAdminTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
>> >        at
>> > org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
>> >        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
>> > 3)
>> > testLogDate(org.tigris.subversion.javahl.BasicTests)java.lang.NoClassDefFoundError: Could not initialize class org.tigris.subversion.javahl.SVNAdmin
>> >        at
>> > org.tigris.subversion.javahl.SVNTests.setUp(SVNTests.java:218)
>> >        at org.tigris.subversion.javahl.RunTests.main(RunTests.java:111)
>> > same error I get on eclipse.
>> >
>> > Any iseas?
>> >
>> > If I can't solve this I need to move to 32 bit linux.
>> >
>> > On Thu, 2009-05-07 at 13:39 -0700, Mark Phippard wrote:
>> >> I've posted them in the past.  So rather than do it again, I have
>> >> added it to the wiki.  See:
>> >>
>> >> http://subclipse.tigris.org/wiki/JavaHL#head-404019ac0784cfe12ca6de2581b8a6ac98896bde
>> >>
>> >>
>> >>
>> >> On Thu, May 7, 2009 at 1:03 PM, Mark Russell
>> >> <mark_russell_at_instantiations.com> wrote:
>> >> > are there any kind of command line tools to use to debug this?
>> >> >
>> >> >
>> >> > On Thu, 2009-05-07 at 11:54 -0700, Mark Phippard wrote:
>> >> >> I have no idea what this is, but it would seem to be related:
>> >> >>
>> >> >> undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
>> >> >>
>> >> >> There is also a current problem in Subversion's gnome-keyring feature
>> >> >> it added in 1.6.  You have to disable it to use JavaHL on Linux.  The
>> >> >> easiest way right now is to rename all of the files in
>> >> >> /opt/CollabNet_Subversion/lib that have "gnome-keyring" in them.  I
>> >> >> think there is one file and 2 symlinks.
>> >> >>
>> >> >> That said, this problem happens after JavaHL loads and is being used.
>> >> >> So it look like you still have some other issue.
>> >> >>
>> >> >> You are using a 64-bit JVM right?  The bitness of JavaHL has to match the JVM.
>> >> >>
>> >> >> Mark
>> >> >>
>> >> >>
>> >> >> On Thu, May 7, 2009 at 11:50 AM, Mark Russell
>> >> >> <mark_russell_at_instantiations.com> wrote:
>> >> >> > I'm getting an error loading subversion for Eclipse 3.4.2 on a centOS
>> >> >> > 5.3 64bit.
>> >> >> >
>> >> >> > I have downloaded subversion 1.6.1 for 64 bit Linux command line and
>> >> >> > installed it via yum.  When I run svn -? it shows version 1.6.1.
>> >> >> >
>> >> >> > I have added -Djava.library.path=/opt/CollabNet_Subversion/lib to the
>> >> >> > eclispe.ini file and it shows up in the configuration details page.
>> >> >> >
>> >> >> > in the eclipse log i get:
>> >> >> > !ENTRY org.tigris.subversion.clientadapter.javahl 1 0 2009-05-07
>> >> >> > 13:45:17.615
>> >> >> > !MESSAGE Failed to load JavaHL Library.
>> >> >> > These are the errors that were encountered:
>> >> >> > no libsvnjavahl-1 in java.library.path
>> >> >> > /opt/CollabNet_Subversion/lib/libsvnjavahl-1.so.0.0.0: /opt/CollabNet_Subversion/lib/libsvnjavahl-1.so.0.0.0: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
>> >> >> > no svnjavahl in java.library.path
>> >> >> > java.library.path = /opt/CollabNet_Subversion/lib
>> >> >> >
>> >> >> > when I do a list of /opt/CollabNet_Subversion/lib the so is there.
>> >> >> >
>> >> >> > any ideas?
>> >> >> >
>> >> >> >
>> >> >> > Mark Russell
>> >> >> > Build Master
>> >> >> > Instantiations
>> >> >> > +1 724-368-3331
>> >> >> > http://www.instantiations.com
>> >> >> >
>> >> >> > ------------------------------------------------------
>> >> >> > http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2098921
>> >> >> >
>> >> >> > To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> > Mark Russell
>> >> > Build Master
>> >> > Instantiations
>> >> > +1 724-368-3331
>> >> > http://www.instantiations.com
>> >> >
>> >> > ------------------------------------------------------
>> >> > http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2099799
>> >> >
>> >> > To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>> >> >
>> >>
>> >>
>> >>
>> > Mark Russell
>> > Build Master
>> > Instantiations
>> > +1 724-368-3331
>> > http://www.instantiations.com
>> >
>> > ------------------------------------------------------
>> > http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2100496
>> >
>> > To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>> >
>>
>>
>>
> Mark Russell
> Build Master
> Instantiations
> +1 724-368-3331
> http://www.instantiations.com
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2100697
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2100713
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-05-07 23:23:26 CEST

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.