On FreeBSD 12.0-RELEASE-p3, is it possible to run a JVM application that has a dependency on a library (.so file) that was compiled for linux?
I've developed a JVM application, for JRE 8, that has a dependency on a closed-source third-party library that was compiled for linux. I have been trying to figure out how to run the app on FreeBSD 12.0-RELEASE-p3. I've tried, without success, using
When running
As a side note: I develop and test the app on macOS using a macos compile version of the library. I hadn't realized deploying to my FreeBSD server was going to be a problem until recently.
I've developed a JVM application, for JRE 8, that has a dependency on a closed-source third-party library that was compiled for linux. I have been trying to figure out how to run the app on FreeBSD 12.0-RELEASE-p3. I've tried, without success, using
java
from the FreeBSD OpenJDK package and from the linux version of Adopt OpenJDK with linux compatibility installed and configured.When running
strings
on the library, I find:
Code:
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
GCC_3.0
GLIBC_2.2.5
CXXABI_1.3
GLIBCXX_3.4
As a side note: I develop and test the app on macOS using a macos compile version of the library. I hadn't realized deploying to my FreeBSD server was going to be a problem until recently.