Magisk-Modules-Repo / ssh

ssh
181 stars 34 forks source link

CANNOT LINK EXECUTABLE "rsync": library "libcrypto.so.1.1" not found #20

Open brerk opened 4 years ago

brerk commented 4 years ago

I installed it on miui 11 on a Redmi Note 8 via magisk.

I can login with ssh but when i try to use Rsync this is what i get:

As root

:/data/ssh/root # rsync CANNOT LINK EXECUTABLE "rsync": library "libcrypto.so.1.1" not found

As shell

:/data/ssh/shell $ rsync sh: rsync: not found

Any idea how to fix it ?

maxlivi commented 4 years ago

I had the same problem with version 0.11, reverting to version 0.10 fixed the problem

adorkablue commented 4 years ago

https://gitlab.com/d4rcm4rc/MagiskSSH/-/merge_requests/1

terrelsa13 commented 4 years ago

Took me a while to find 0.10. This is the gitlab releases page.

ponschab commented 4 years ago

Temporary you can also repair it on the mobile by hand:

# mv /data/adb/modules/ssh/usr/bin/rsync /data/adb/modules/ssh/usr/bin/raw/ # ln -s /data/adb/modules/ssh/usr/bin/raw/magisk_ssh_library_wrapper /data/adb/modules/ssh/usr/bin/rsync

ReMiA00 commented 3 years ago

Temporary you can also repair it on the mobile by hand:

mv /data/adb/modules/ssh/usr/bin/rsync /data/adb/modules/ssh/usr/bin/raw/

ln -s /data/adb/modules/ssh/usr/bin/raw/magisk_ssh_library_wrapper /data/adb/modules/ssh/usr/bin/rsync

This also does the trick

export LD_LIBRARY_PATH=/data/adb/modules/ssh/usr/lib