How to install resilio on MiWiFi R1D(Tomato-Shibby with entware)?


inn508

Recommended Posts

I ues MiWiFi router(R1D), and it has already install Tomato-Shibby 136 with entware.

I have done some research about it.
https://forum.resilio.com/topic/43083-install-resilio-on-arm-router/
https://forum.resilio.com/topic/33449-bittorrent-sync-on-miwifi/

First, I run the rslsync

# ./rslsync
-sh: rslsync: not found

 

So I use patchelf to change interpreter

# patchelf --set-interpreter /opt/lib/ld-linux.so.3 ./rslsync


Then try again

# ./rslsync
./rslsync: /lib/libpthread.so.0: no version information available (required by ./rslsync)
./rslsync: /lib/libpthread.so.0: no version information available (required by /opt/lib/librt.so.1)
./rslsync: /lib/libpthread.so.0: no version information available (required by /opt/lib/librt.so.1)
./rslsync: relocation error: ./rslsync: symbol __pthread_key_create, version GLIBC_2.4 not defined in file libpthread.so.0 with link time reference

# ldd rslsync
rslsync: /lib/libpthread.so.0: no version information available (required by rslsync)
rslsync: /lib/libpthread.so.0: no version information available (required by /opt/lib/librt.so.1)
rslsync: /lib/libpthread.so.0: no version information available (required by /opt/lib/librt.so.1)
        librt.so.1 => /opt/lib/librt.so.1 (0x40147000)
        libcrypt.so.1 => /opt/lib/libcrypt.so.1 (0x40051000)
        libdl.so.2 => /opt/lib/libdl.so.2 (0x40090000)
        libm.so.6 => /opt/lib/libm.so.6 (0x4015e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x400a3000)
        libc.so.6 => /opt/lib/libc.so.6 (0x40213000)
        /opt/lib/ld-linux.so.3 (0x400f6000)
        libc.so.0 => /lib/libc.so.0 (0x40350000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x400be000)

 

Fix libpthread.so.0 path

# patchelf --remove-needed libpthread.so.0 ./rslsync
# patchelf --add-needed /opt/lib/libpthread.so.0 ./rslsync


But still error

# ./rslsync
A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
Aborted

# ldd rslsync
        /opt/lib/libpthread.so.0 (0x40122000)
        librt.so.1 => /opt/lib/librt.so.1 (0x40059000)
        libcrypt.so.1 => /opt/lib/libcrypt.so.1 (0x400d4000)
        libdl.so.2 => /opt/lib/libdl.so.2 (0x4014c000)
        libm.so.6 => /opt/lib/libm.so.6 (0x4015f000)
        libc.so.6 => /opt/lib/libc.so.6 (0x40214000)
        /opt/lib/ld-linux.so.3 (0x40025000)

 

I have confirmed that all the files (*.so.*) are in /opt/lib/.

Does anyone know how to fix it?

 

Link to comment
Share on other sites

  • 1 month later...

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.