Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run on a RPI4 #17

Closed
Tsjippy opened this issue Feb 9, 2024 · 2 comments
Closed

How to run on a RPI4 #17

Tsjippy opened this issue Feb 9, 2024 · 2 comments

Comments

@Tsjippy
Copy link

Tsjippy commented Feb 9, 2024

I try to run signal-cli on a RPI4 with "arm_64bit=0" set in config.txt. I have to set that because other sqlite lib problems.

If I use aarch64-linux-gnu I get wrong ELF class: ELFCLASS64 (Possible cause: can't load AARCH64 .so on a ARM platform)

If I use the arm7 lib I get org.signal.libsignal.zkgroup.InvalidInputException: Deserialization failure in zkgroup (AssertionError)

What can I do?

@Duke-Jones
Copy link

Duke-Jones commented Feb 9, 2024

Hi, Ive built a script which installs or updates signal-cli on 32 or 64bit versions of a Raspberry 4.
It automatically downloads the required dependencies, compile them if necessary and patches the signal-cli.
Maybe this helps 😃

@exquo
Copy link
Owner

exquo commented Feb 26, 2024

The error

org.signal.libsignal.zkgroup.InvalidInputException: Deserialization failure in zkgroup (AssertionError)

usually happens when a wrong version of libsignal is used. Each version of signal-cli requires a specific version of libsignal library, so make sure you are using the right one.

The

"arm_64bit=0" in config.txt

is RPi-specific, I'm not sure what it does. Perhaps it's effectively a 32-bit system running on 64-bit processor? Can you post the output of

uname -a
file /lib/systemd/systemd
file -L $(type -p java)

Here is the same issue caused by a 32-bit Java on a 64-bit RPi3: AsamK/signal-cli#1088.

As for the

other sqlite lib problems.

The readme in https://github.com/Duke-Jones/signal_cli_on_raspi mentions

on aarch64 systems only: download corresponding sources for libsqlitejdbc.so, compile and patch signal-cli installation with it (https://github.com/xerial/sqlite-jdbc)

which might help with that problem.

P.S. Sorry I have missed this issue when it was created!

@exquo exquo closed this as completed Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants