datalevin
datalevin copied to clipboard
Support for older macosx OS versions
The current native dependencies for datalevin require more recent versions of the OSX operating system than might otherwise be required. Calling a datalevin function that loads native dependencies will throw an UnsatisfiedLinkError with a message similar to " (built for macOS 15.0 which is newer than running OS) ".
It is common for prebuilt binaries to set a lower OS version for wider compatibility. The minimum os version can be set using an environment variable (eg. export MACOSX_DEPLOYMENT_TARGET=10.14) or setting the correct cmake flag (eg. -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14).