Konrad Komorowski

Problem running Resilio Sync on Alpine Linux

Recommended Posts

Hey,

I'm trying to run the `linux-arm` library on a Raspberry Pi Zero W, in an Alpine container on Resin OS.

Here is a repro of a couple of commands run on the container:

bash-4.4# uname -a
Linux 043744b40120 4.14.39 #1 Fri Aug 31 09:37:42 UTC 2018 armv6l Linux

bash-4.4# wget https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz
Connecting to download-cdn.resilio.com (143.204.181.30:443)
resilio-sync_arm.tar 100% |*****************************************************************| 11275k  0:00:00 ETA

bash-4.4# tar -xf resilio-sync_arm.tar.gz

bash-4.4# mv rslsync /usr/bin/

bash-4.4# ls -al /usr/bin/rslsync 
-rwxr-xr-x    1 root     root      15340428 Jul 18 16:13 /usr/bin/rslsync

bash-4.4# rslsync 
bash: /usr/bin/rslsync: No such file or directory

The (rather unintuitive) error message reminds me of having a binary with mismatched architecture, but I thought that `linux-arm` is the appropriate one in this case.

Does anyone have any idea how to troubleshoot this further?

Any help would be appreciated! Thanks in advance!

Share this post


Link to post
Share on other sites

I managed to "isolate" the problem by running almost the same code on Raspi 3 B+ (but using the appropriate binary for that platform).

Things work if I use the `ubuntu` base image, but I get the same error message when using `alpine`.

How would I go about making Resilio work on Alpine?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.