diff --git a/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/RocksDBLoader.java b/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/RocksDBLoader.java index 474329e..85d06ce 100644 --- a/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/RocksDBLoader.java +++ b/src/main/java/it/cavallium/rockserver/core/impl/rocksdb/RocksDBLoader.java @@ -49,6 +49,9 @@ public class RocksDBLoader { System.loadLibrary(compressionType.getLibraryName()); } } catch (final UnsatisfiedLinkError e) { + if (compressionType == CompressionType.LZ4_COMPRESSION) { + throw new IllegalStateException("Can't load LZ4", e); + } if (compressionType == CompressionType.ZSTD_COMPRESSION) { throw new IllegalStateException("Can't load ZSTD", e); }