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

[Subclipse-users] Problem with javahl libraries

From: Rune V. Sjøen <rvsjoen_at_gmail.com>
Date: Tue, 13 May 2008 15:27:32 +0200

I downloaded the tarball for subversion-1.4.6 and deps.
Ran the following commands to build it

./configure --enable-javahl --with-jikes=no --with-jdk=<path to my jdk>
--with-junit=<path to junit jar file> --prefix/usr
make
make install

Then I build javahl

make javahl
make javahl install

When I run make check-javahl I get the following error

make check-javahl
/opt/jdk1.6.0/bin/java
-Djava.library.path=subversion/bindings/java/javahl/native/.libs:/usr/local/lib
-classpath
subversion/bindings/java/javahl/classes:/root/subversion-1.4.6/junit-4.4.jar
org.tigris.subversion.javahl.tests.BasicTests
.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.044
There were 29 errors:
1)
testVersion(org.tigris.subversion.javahl.tests.BasicTests)java.lang.UnsatisfiedLinkError:
no svnjavahl in java.library.path

The javahl libs are located in the folder in the java.library.path
I dont get it...

And if I run ldconfig -v, the library in /usr/lib is also listed

and I am not able to run java applications that use javahl bindings, even if
the library path is set correctly
I also tried setting LD_LIBRARY_PATH before invoking the applications.

-- 
Rune V. Sjoen
You always pass failure on the way to success
Received on 2008-05-13 15:27:46 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.