Re: Please help with Java lib
On 09/26/2014 09:48 AM, Andreas Tille wrote:
> Hi Olivier,
> On Fri, Sep 26, 2014 at 09:23:47AM +0200, Olivier Sallou wrote:
>> On 09/25/2014 10:19 PM, Andreas Tille wrote:
>>> Hi Debian Java folks,
>>> it seems there is no real progress in this issue. Do you have any hint
>>> what to do. BTW (as in other cases): if you prefer maintaining
>>> libsnappy-java in Debian Java team I'd happily move the packaging into
>>> your Git repository.
>> >From my last post, I think that issue is (after patch is applied) that
>> snappy lib is "too old". Seems that Java lib is using a more recent version:
>> SnappyTests Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> at org.xerial.snappy.SnappyNative.maxCompressedLength(Native Method)
>> at org.xerial.snappy.Snappy.maxCompressedLength(Snappy.java:316)
>> at org.xerial.snappy.Snappy.rawCompress(Snappy.java:329)
>> at org.xerial.snappy.Snappy.compress(Snappy.java:88)
>> at SnappyTests.main(SnappyTests.java:12)
>> Tje maxCompressedLength sould be available in a new version
> Sorry, I might miss the point of your mail. This means exactly what for
> the package?
In a post in the bug, I provided a patch to fix the Native library loading.
The problem is at execution, where the Java lib tries to use some
methods in the native lib.
Those methods are not available in the native lib currently in Debian. I
think there is a newer upstream release for the native library that
But I do not know if the Java lib upstream team uses official releases.
For what I understood, once patch is applied, is that the Java lib
version needs to match a specific version (newer?) of the native lib.
> Kind regards
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438