square / jna-gmp

A Java JNA wrapper around the GNU Multiple Precision Arithmetic Library.
Apache License 2.0
62 stars 24 forks source link

#25 Rebuild libgmp under system with glibc 2.12 #29

Closed kevinconaway closed 6 years ago

kevinconaway commented 6 years ago

@dragonsinth This fixes #25

The root cause is that both libgmp and the 4.4.0 version of JNA depended on glibc 2.14 to be present on the target systems but our systems had 2.12.

The fix here was to recompile libgmp against 2.12. I also updated the JNA dependency to the latest version which fixes their version of this issue.

I included the Dockerfile and instructions that I used to build the library.

dragonsinth commented 6 years ago

Awesome, I'll try this out tomorrow.

dragonsinth commented 6 years ago

LGTM, this is awesome! Love the fact that running the docker build produces the same binary (or at least, it did for me).