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

Problem with javahl libraries

From: Rune V. Sjøen <rvsjoen_at_gmail.com>
Date: Tue, 13 May 2008 16:17:46 +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> -
make
make install

Then I build javahl

make javahl
make install-javahl

And then I add /usr/local/lib to /etc/ld.so.conf and run ldconfig -v to
check that the libs are present

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 also located in the folder in the java.library.path so
they shouldnt depend in the ld path at all ?
I dont get it...

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 16:18:13 CEST

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

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