instantiations / es_compression

Compression framework for Dart providing FFI implementations for Brotli, Lz4, Zstd (Zstandard) with ready-to-use prebuilt binaries for Win/Linux/Mac.
https://www.instantiations.com
BSD 3-Clause "New" or "Revised" License
41 stars 8 forks source link

我的项目运行的时候报: Failed to load dynamic library 'libeszstd-android64.so': dlopen failed: library "libeszstd-android64.so" not found #46

Closed zhangyuankai closed 4 months ago

zhangyuankai commented 1 year ago

请问这个so文件从哪里获得

huangbos commented 10 months ago

我也遇到了,这个怎么解决呢?

ddomnik commented 6 months ago

Same issue on Windows: Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'eslz4-win64.dll': The specified module could not be found.

Workaround is to include your own lib as file and set the path. E.g. download lz4 dll from github and place it in your project, then set the path.

    Lz4Codec.libraryPath = './msys-lz4-1.dll';
    final codec = Lz4Codec(level: Lz4Option.defaultLevel);

This has to be done for each platform ofc.