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

Re: [Subclipse-users] Projects not staying under version control

From: Billy O'Connell <billy_oconnell_at_tanval.com>
Date: 2006-09-27 19:09:04 CEST

Hey again Mark,

Thanks for you time and responses.

I have tried all 3 suggestions.

I am still getting errors when selecting Team => SVN

Failed to Load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
/usr/local/lib/libsvnjavahl-1.so.0.0.0:/usr/local/lib/libsvn_ra_dav-1.so: undefined symbol:
xmlCreatePushParserCtxt
no svnjavahl in java.library.path
java.library.path=/usr/local/lib:......

Here is my /usr/local/lib/

ls libsvnjavahl-1.*
 libsvnjavahl-1.so.0.0.0
 libsvnjavahl-1.so.0 -> libsvnjavahl-1.so.0.0.0
 libsvnjavahl-1.so -> libsvnjavahl-1.so.0.0.0
 libsvnjavahl-1.la
 libsvnjavahl-1.a

ls libsvn_ra_dav-1.*
 libsvn_ra_dav-1.a
 libsvn_ra_dav-1.la
 libsvn_ra_dav-1.so
 libsvn_ra_dav-1.so.0
 libsvn_ra_dav-1.so.0.0.0

I will keep searching for an answer, but if you can spot what I have wrong, it would be greatly apreciated.

Thanks,
Billy

You do not need to do anything to the JAR, and should undo anything that
you have done. The JAR is not terribly relevant and we ship the one that
you should use. The issue is the native libraries, the .so's. The issue
is that the JVM will not look for them in the location they reside in your
file system. There are several things you can do, any one of which will
solve it:

1) Create a symlink to the library in one of the places the JVM looks. I
believe our error message outputs this path.
2) Set the LD_LIBRARY_PATH variable in a script before starting Eclipse:

export LD_LIBRARY_PATH=/usr/local/lib:.
./eclipse

3) Start Eclipse using something like this:

./eclipse -vmargs -Djava.library.path=/usr/local/lib

I think you can set these settings in the eclipse.ini file as well.

NOTE: In the above, I do not know that /usr/local/lib is where your
library is stored. That is the default when building from source, but the
RPM's you used might have a different location. Debian systems are using
/usr/lib/jni for it now.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Sep 27 19:09:16 2006

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.