Closed gcey closed 3 years ago
The signal-cli version you have downloaded is for x86_64 linux. To make it work on i686, download the two .so files with i686 in their names from the release page. Then use the instructions in https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal to replace the x86_64 .so files inside the .jar archives with the i686 versions.
Essentially, this means executing these commands:
wget https://github.com/exquo/signal-libs-build/releases/download/v0.8.4.1/libzkgroup.so-v0.7.0-i686-unknown-linux-gnu.tar.gz
wget https://github.com/exquo/signal-libs-build/releases/download/v0.8.4.1/libsignal_jni.so-v0.8.1-i686-unknown-linux-gnu.tar.gz
tar -xzf libzkgroup.so-v0.7.0-i686-unknown-linux-gnu.tar.gz
tar -xzf libsignal_jni.so-v0.8.1-i686-unknown-linux-gnu.tar.gz
zip -u signal-cli-0.8.4.1/lib/zkgroup-java-0.7.0.jar libzkgroup.so
zip -u signal-cli-0.8.4.1/lib/signal-client-java-0.8.1.jar libsignal_jni.so
I used
https://github.com/exquo/signal-libs-build/releases/download/v0.8.4.1/signal-cli-v0.8.4.1-x86_64-Linux.tar.gz
and I gotuname -m
saysi686