Build signal-cli
#1
Hello! I have been trying to get signal on my pinephone without using anbox. I am really happy about postmarketos, it is incredibly snappy and the phone functionality works very well.

I have tried to build signal-cli on the pinephone with the latest stable postmarketos 21.06. Glibc is required within the rust modules to build, so I tried to install: sgerrand/alpine-pkg-glibc and changing the target of rust from musl to gnu.
I managed to get the libsignal-client and libzkgroup compiled and I followed the instructions to bundle the .so files back in signal-cli.

Unfortunately when I then tried to run the signal-cli I get:

Missing required native library dependency: libsignal-client.

I had a look through the signal-cli issues and saw that this can happen when compiled with an older version of glibc. Not sure how this happened has the glibc version installed with sgerrand/alpine-pkg-glibc seems recent, but clearly I am missing something here...

I now just tried to do the same build on the pinebook pro with Manjaro. Everything compiled fine, it has and uses glibc rather than musl. I tried the signal-cli and it worked.

I then, maybe ignorantly thought I could copy and paste my build signal-cli from my pinebook pro ( with manjaro ) to my pinephone with postmarketos. They are both aarch64 after all.
I tried to run the signal-cli and again I got: Missing required native library dependency: libsignal-client.

It makes me very sad, in my ignorance I tried what I could but I am a bit lost now.

Is there someone that could help me understand what I am doing wrong and help me?

Thanks in advance Smile
  Reply


Messages In This Thread
Build signal-cli - by uby89 - 07-09-2021, 06:06 AM
RE: Build signal-cli - by saba - 07-19-2021, 10:36 PM
RE: Build signal-cli - by uby89 - 07-25-2021, 10:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  axolotl signal client on postmarket os? nieral 2 3,537 10-29-2021, 07:41 AM
Last Post: nieral
  Latest build no firefox, text editor? cosmicschock 2 2,732 10-03-2021, 12:19 PM
Last Post: cosmicschock
Wink Extremely fast pmOS build for the pinephone lucasanss 0 3,184 02-03-2021, 04:05 PM
Last Post: lucasanss
  Build state today firefox-58 3 5,484 10-24-2020, 08:48 AM
Last Post: jmorris
  Signal on PostmarketOS GloriousCoffee 8 13,057 09-01-2020, 07:37 AM
Last Post: nieral
  pmbootstrap build large keyboard not usable u20200719 5 7,935 07-25-2020, 02:31 PM
Last Post: u20200719

Forum Jump:


Users browsing this thread: 1 Guest(s)