views:

666

answers:

3

Hi.

I'm looking to install the 1.6 version of JavaHL on CentOS, which proves to be more tricky then expected.

Has someone succeed doing so and can point a repo for this?

Thanks in advance.

+1  A: 

CollabNet provides an RHEL/CentOS RPM that includes JavaHL.

http://www.open.collab.net/downloads/subversion/redhat.html

Mark Phippard
Thanks for advice, but it throws me the following error: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_storageEno svnjavahl in java.library.pathjava.library.path = /opt/CollabNet_Subversion/libEver managed to get it working?
SyBer
The problem actually seems to be here:undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
SyBer
+1  A: 

I'am in fedora12 64bit ,I hava the same proble

Devin
+1  A: 

I resolved that issue on rhel5u5 64 bit, but doing a ckeckout from the latest stable tag and doing a full build of subversion and the javahl binding svn co http://svn.apache.org/repos/asf/subversion/tags/1.6.11 svn-1-6-11

./configure --prefix=/opt/subversion --enable-javahl --with-jdk=/usr/lib/jvm/java-1.6.0-sun.x86_64
make 
make install
make javahl
make install-javahl

You will need to get many dependencies from the repositories though.

feniix
Thanks, worked as a charm!
SyBer
I didn't mention this before, but if it is a production box you should try building it in another box(dev or a temp one) and then moving the binaries to the prod one.
feniix