在尝试在我的本地 MacBook 上设置本地安装 janusgraph-fdb 时。但是在我开始gremlin-server.sh的设置之后,我遇到了这个问题。我遵循的步骤:
- 在macOS Catalina (v10.15.6)(客户端和服务器)上安装 FoundationDB.pkg (v6.2.20 )
- 下载并解压Janusgraph-foundationdb-adapter (v0.1.0)
- 下载并解压Janusgraph (v0.3.2)
- 在 janusgraph 上运行 fdb 适配器....
Janusgraph-foundationdb-adapter-dir / install.sh Janusgraph-dir
- 尝试启动gremlin-server.sh ...它失败并出现以下错误。
(此错误不会出现在较低版本的 macOS 中。)
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/0g/45y2_pyn5994wjtlmjdlkq900000gn/T/fdbjni5991122741590979924.library: dlopen(/private/var/folders/0g/45y2_pyn5994wjtlmjdlkq900000gn/T/fdbjni5991122741590979924.library, 1): Library not loaded: libfdb_c.dylib
Referenced from: /private/var/folders/0g/45y2_pyn5994wjtlmjdlkq900000gn/T/fdbjni5991122741590979924.library
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1086)
at com.apple.foundationdb.JNIUtil.loadLibrary(JNIUtil.java:106)
at com.apple.foundationdb.FDB.<clinit>(FDB.java:97)
at com.experoinc.janusgraph.diskstorage.foundationdb.FoundationDBStoreManager.<init>(FoundationDBStoreManager.java:72)
这些是我的堆栈:
- FoundationDB.pkg (v6.2.20)
- Janusgraph-foundationdb-适配器 (v0.1.0)
- Janusgraph (v0.3.2)
- macOS Catalina (v10.15.6)