diff --git a/Provide-native-lib-for-libsignal.md b/Provide-native-lib-for-libsignal.md index 47a00c2..e4e84ee 100644 --- a/Provide-native-lib-for-libsignal.md +++ b/Provide-native-lib-for-libsignal.md @@ -1,6 +1,6 @@ For the new v2 groups libsignal-service requires [libzkgroup](https://github.com/signalapp/zkgroup), a native (rust) library. The library needs to be compiled separately for each CPU architecture and operating system. The `.dylib` for macOS and the `.so` for unix systems can be bundled in the root of the `zkgroup-java-*.jar` file (but only for one architecture at a time). Only if there is no bundled file will libsignal search the library path (`java.library.path`) for the `.dylib`/`.do`/`.dll` file. -The linux x86_64 version is bundled by default, for other systems, you need to remove the bundled lib from the jar file, download or compile the latest [libzkgroup](https://github.com/signalapp/zkgroup/releases) for your system and put it in the library path. +The linux x86_64 version is bundled by default, for other systems, you need to remove the bundled lib from the jar file, download or compile (`make libzkgroup`) the latest [libzkgroup](https://github.com/signalapp/zkgroup/releases) for your system and put it in the library path. `zip -d lib/zkgroup-java-*.jar libzkgroup.so` \ No newline at end of file