I tried running TypeDB on my M1 MacBook using ./typedb server
, but it results in the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/5v/95_mbj013y93vsmc8xps0stm0000gp/T/librocksdbjni8182124459810412816.jnilib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
This error looks like it might occur when running a Java program with an incompatible JDK. What can I do to resolve it?
(Disclaimer - TypeDB maintainer here.)
As of the TypeDB 2.19.0 release, the mac
and linux
distributions support both x86_64
/amd64
and arm64
/aarch64
architectures natively.
These versions are faster than using emulation to run the x86_64 distributions on Macs in particular.
Installation is now as simple as installing a Java runtime that is applicable to your native OS+architecture, and then installing TypeDB for your OS via the apt/brew distribution channels or from the Github releases page: https://github.com/vaticle/typedb/releases