You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Rune V. Sjøen" <rv...@gmail.com> on 2008/05/13 14:17:46 UTC
Problem with javahl libraries
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