Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-02-2021 07:54 AM
Hello,
I have a fresh installation of neo4j 3.5.28 on a fresh RHEL 8 server, and am running into the following issue when I try to import my database:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no zstd-jni in java.library.path
Unsupported OS/arch, cannot find /linux/amd64/libzstd-jni.so or load zstd-jni from system libraries. Please try building from source the jar or providing libzstd-jni in you system.
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
at java.lang.System.loadLibrary(System.java:1124)
at com.github.luben.zstd.util.Native.load(Native.java:108)
at com.github.luben.zstd.util.Native.load(Native.java:60)
at com.github.luben.zstd.ZstdInputStream.<clinit>(ZstdInputStream.java:21)
at org.neo4j.dbms.archive.CompressionFormat$2.decompress(CompressionFormat.java:68)
at org.neo4j.dbms.archive.Loader.openArchiveIn(Loader.java:151)
at org.neo4j.dbms.archive.Loader.load(Loader.java:67)
at org.neo4j.commandline.dbms.LoadCommand.load(LoadCommand.java:134)
at org.neo4j.commandline.dbms.LoadCommand.execute(LoadCommand.java:87)
at org.neo4j.commandline.admin.AdminTool.execute(AdminTool.java:127)
at org.neo4j.commandline.admin.AdminTool.main(AdminTool.java:51)
Newer versions of neo4j work fine, but I can't seem to fix this error. Any help would be appreciated.
Additionally, I get the same error whether I use the tarball installation or repository package installation. In both cases I verified the presence and permissions on the zstd-jni.jar file.
edit: replicated the issue on another RHEL 8 server
11-12-2021 11:37 AM
Turns out the issue was that our admins have /tmp and /var/tmp set to have the noexec flag, which was causing the error.
12-13-2022 07:39 AM
I didn't know about the noexec flag and was having the same issue.
Thanks for replying to your post with the answer!
All the sessions of the conference are now available online