deephacks / lmdbjni

LMDB for Java
Apache License 2.0
204 stars 28 forks source link

liblmdbjni.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found #47

Closed Neiko2002 closed 8 years ago

Neiko2002 commented 8 years ago

I'm would like to run the library on a Debian 7 but have the problem with the old glibc 2.13. Are there any build-from-source instructions?

krisskross commented 8 years ago

sudo apt-get install build-essential automake1.10 libtool mvn clean install -P linux64

I'll add a guide to the wiki later.

Neiko2002 commented 8 years ago

Sounds great thank you.

krisskross commented 8 years ago

Btw, did you get it working with the instructions above?

Neiko2002 commented 8 years ago

Yes it worked. I only got one error in the test suit:

testEnvInfo(org.fusesource.lmdbjni.EnvTest)  Time elapsed: 0.014 sec  <<< FAILURE!
java.lang.AssertionError: 
Expected: is <805568512>
    got: <939786240>

    at org.junit.Assert.assertThat(Assert.java:780)
    at org.junit.Assert.assertThat(Assert.java:738)
    at org.fusesource.lmdbjni.EnvTest.testEnvInfo(EnvTest.java:122)