On Fri, Jul 31, 2009 at 3:55 PM, Karol Grecki<kgrecki_at_gmail.com> wrote:
> Mark Phippard-3 wrote:
>>
>> On Fri, Jul 31, 2009 at 11:03 AM, Tyler Roscoe<tyler_at_cryptio.net> wrote:
>>> On Fri, Jul 31, 2009 at 04:26:32AM -0700, Karol Grecki wrote:
>>>> I'm using Zend Studio based on Eclipse which only comes in 32bit
>>>> flavour. I
>>>> found javahl working better (performance and reliability) than svnkit
>>>> but I
>>>> had some problems compiling it on my 64bit system.
>>>
>>> You'll get better responses to this question on an eclipse or javahl
>>> mailing list. Good luck.
>>
>> Actually, this is the proper mailing list for compiling JavaHL. It
>> is, after all, part of Subversion.
>>
>> The error is coming from the OS library loader. I'd focus on trying
>> to find out what the heck it means. It is a weird error.
>>
>> I wonder if the problem is that one or more of the dependencies that
>> JavaHL needs to load at runtime, is not 32-bit. Such as the APR,
>> Neon, OpenSSL or zlib libraries.
>>
>
> I was under the impression that my method works with 1.5 but not with 1.6,
> hence I thought I might get some help here. I turns out I can no longer
> compile 1.5 this way, it results in the same error.
> Something probably changed when upgraded my distro. It's a bit weird because
> there are no compilation errors and all dependencies seem to be resolved.
>
> Does anyone know if I compile subversion javahl statically? Maybe that would
> allow me do it on 32bit OS and then copy single .so file and use it on 64bit
> machine?
It doesn't work. When Java loads a library for a JNI call it uses dl
which dynamically loads the library and causes it in turn dynamically
load its dependencies. I'm not a Unix guy so I do not try to
understand why. I've just been wanting to be able to do this for
years so that I could provide a JavaHL .so with the Subclipse
download.
CollabNet provides RPM's for Linux. These install and work on Ubuntu.
I use the "alien" package which allows you to easily install RPM's.
Also see: http://subclipse.tigris.org/wiki/JavaHL
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2377539
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-31 22:05:16 CEST