deephacks / lmdbjni

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

Doesn't work on RHEL6/CentOS6 #45

Open darkone23 opened 8 years ago

darkone23 commented 8 years ago

The liblmdbjni is compiled against GLIBC 2.14 so it won't run on EL6 which only supports 2.12 - does it really need 2.14 or could it be compiled against 2.12 so that it works on el6 as well?

krisskross commented 8 years ago

Yes, I think 2.12 should work fine. Have you tried compiling it yourself?

navjotk commented 8 years ago

I have the same issue as the OP above regarding GLIBC support. I want to use liblmdbjni on a machine that only has GLIBC v2.12. However this machine does not have access to the internet so I can't run the maven build script there directly. The machine I will use to build has a version newer than 2.12 so I would install 2.12 only for this build. How do I point the build script to use a particular version of GLIBC and not the one in /lib?

krisskross commented 8 years ago

We're currently in the process of modernizing lmdbjni in a project called lmdbjava. Do you mind trying it?

navjotk commented 8 years ago

I am only doing this to be able to run this project on the cluster. I will use anything the people in that project approve.

navjotk commented 8 years ago

I managed to build this directly on the target machine by providing a temporary internet connection.

krisskross commented 8 years ago

Ok, glad to hear that!