build/Release/libsignal_client_linux_arm64.node prebuilds/linux-arm64/Ĭp -av target/release/libzkgroup.so. The reason the above is needed has something to do with a different glibc version being expected by the libringrtc-arm64.node file that was in that repo, while the libringrtc-arm64.node built in Debian 11 expects the same glibc version that exists on the L5 (glibc 2.31 instead of 2.32 or something). # Copy our own libringrtc-arm64.node file to replace the one that was in the repoĬp libringrtc-arm64.node signal-ringrtc-node/build/linux/libringrtc-arm64.node Now, back on the Librem 5, prepare some things we need for the Signal build (most of this comes from ): # Get this git repo that contains a kind of "node" package including a libringrtc-arm64.node file: Now the file we need has been built, it is at src/node/build/linux/libringrtc-arm64.nodeĬopy the libringrtc-arm64.node from the Debian 11 computer to the Librem 5. Src/webrtc/src/build/linux/sysroot_scripts/install-sysroot.py -arch arm64 # the above fails with a suggestion to run the following to fix it: ![]() Make electron PLATFORM=unix NODEJS_ARCH=arm64 Rustup target add aarch64-unknown-linux-gnu Sudo apt-get install -y crossbuild-essential-arm64Įxport CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc Building that seem to require very much disk space so it the build would not fit on my L5, I resorted to building it on a x86_64 laptop running Debian 11, as follows (mostly taken from the “ringrtc-linux” part in ): git clone Now the Node.js stuff is installed in /usr/local/bin/node so we can remove the ~/node directory to free up some disk space.Īpart from Node.js another thing we need is the RingRTC library built for arm64. ![]() # Changed to -j2 because -j4 used too much memoryĪfter that, we can check it by running node -version which should output the version number “v14.16.0”. To build and install Node.js version 14.16.0 on the Librem 5, we can do this: git clone The Node.js version that Signal wants currently is 14.16.0 and the source code is at with instructions at Node.js is some large javascript thing which I am not very familiar with, but it turned out that it is straightforward to build, it only takes a long time. Starting from the build instructions at that says “First, you’ll need Node.js which matches our current version”. ![]() Let me know if it does not work for you, then I will try to add any missing pieces. It is a little tricky because the usual version of Signal Desktop is for the x86_64 architecture, while the Librem 5 has a aarch64 (also called arm64) CPU so we need a aarch64 build of the program.Ī word of warning if you are going to try this: the instructions here are my best attempt at putting everything together after getting it to work, I might have missed some part(s). This is about the “desktop” version of Signal, the idea being that the Librem 5 is like a regular computer (not Android and not iOS) and therefore the mobile Signal app cannot be expected to work (because that is only for Android or iOS), however Signal Desktop can work. TL DR: a bit messy to install, but it does work, to some extent.Ī lot of this is based on but modified as needed. Here is the story of my efforts to try out Signal on the Librem 5.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |