ssh icon indicating copy to clipboard operation
ssh copied to clipboard

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

Open brerk opened this issue 5 years ago • 5 comments

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 ?

brerk avatar Jul 20 '20 22:07 brerk

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

maxlivi avatar Jul 27 '20 09:07 maxlivi

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

adorkablue avatar Jul 28 '20 19:07 adorkablue

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

terrelsa13 avatar Oct 26 '20 22:10 terrelsa13

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

ponschab avatar Nov 11 '20 19:11 ponschab

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

ReMiA00 avatar Mar 16 '21 21:03 ReMiA00