Skip to content

Instantly share code, notes, and snippets.

@dzianisv
Last active May 15, 2023 09:19
Show Gist options
  • Select an option

  • Save dzianisv/cfde82e269d66fc1c66b954cfbd7e03e to your computer and use it in GitHub Desktop.

Select an option

Save dzianisv/cfde82e269d66fc1c66b954cfbd7e03e to your computer and use it in GitHub Desktop.
Resilio Sync on Openwrt Snapshot
root@GoogleWifi:~# ldd /opt/bin/rslsync 
	/lib/ld-linux.so.3 (0xb6f12000)
	libpthread.so.0 => /lib/ld-linux.so.3 (0xb6f12000)
Error loading shared library libcrypt.so.1: No such file or directory (needed by /opt/bin/rslsync)
	librt.so.1 => /lib/ld-linux.so.3 (0xb6f12000)
	libdl.so.2 => /lib/ld-linux.so.3 (0xb6f12000)
	libm.so.6 => /lib/ld-linux.so.3 (0xb6f12000)
	libc.so.6 => /lib/ld-linux.so.3 (0xb6f12000)
Error loading shared library ld-linux.so.3: No such file or directory (needed by /opt/bin/rslsync)
Error relocating /opt/bin/rslsync: pthread_attr_setaffinity_np: symbol not found
Error relocating /opt/bin/rslsync: __memcpy_chk: symbol not found
Error relocating /opt/bin/rslsync: __longjmp_chk: symbol not found
Error relocating /opt/bin/rslsync: getcontext: symbol not found
Error relocating /opt/bin/rslsync: __vsnprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: __fprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: setcontext: symbol not found
Error relocating /opt/bin/rslsync: __strftime_l: symbol not found
Error relocating /opt/bin/rslsync: makecontext: symbol not found
Error relocating /opt/bin/rslsync: __strcpy_chk: symbol not found
Error relocating /opt/bin/rslsync: __register_atfork: symbol not found
Error relocating /opt/bin/rslsync: mallopt: symbol not found
Error relocating /opt/bin/rslsync: __recv_chk: symbol not found
Error relocating /opt/bin/rslsync: __fxstat: symbol not found
Error relocating /opt/bin/rslsync: __snprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: __memset_chk: symbol not found
Error relocating /opt/bin/rslsync: __fdelt_chk: symbol not found
Error relocating /opt/bin/rslsync: __xstat: symbol not found
Error relocating /opt/bin/rslsync: __realpath_chk: symbol not found
Error relocating /opt/bin/rslsync: __sprintf_chk: symbol not found
root@GoogleWifi:/opt/bin# ldd ./rslsync 
	/lib/ld-linux-armhf.so.3 (0xb6f17000)
	libpthread.so.0 => /lib/ld-linux-armhf.so.3 (0xb6f17000)
Error loading shared library libcrypt.so.1: No such file or directory (needed by ./rslsync)
	librt.so.1 => /lib/ld-linux-armhf.so.3 (0xb6f17000)
	libdl.so.2 => /lib/ld-linux-armhf.so.3 (0xb6f17000)
	libm.so.6 => /lib/ld-linux-armhf.so.3 (0xb6f17000)
	libc.so.6 => /lib/ld-linux-armhf.so.3 (0xb6f17000)
Error loading shared library ld-linux-armhf.so.3: No such file or directory (needed by ./rslsync)
Error relocating ./rslsync: pthread_attr_setaffinity_np: symbol not found
Error relocating ./rslsync: __memcpy_chk: symbol not found
Error relocating ./rslsync: __longjmp_chk: symbol not found
Error relocating ./rslsync: getcontext: symbol not found
Error relocating ./rslsync: __vsnprintf_chk: symbol not found
Error relocating ./rslsync: __fprintf_chk: symbol not found
Error relocating ./rslsync: setcontext: symbol not found
Error relocating ./rslsync: __strftime_l: symbol not found
Error relocating ./rslsync: makecontext: symbol not found
Error relocating ./rslsync: __strcpy_chk: symbol not found
Error relocating ./rslsync: __register_atfork: symbol not found
Error relocating ./rslsync: mallopt: symbol not found
Error relocating ./rslsync: __recv_chk: symbol not found
Error relocating ./rslsync: __fxstat: symbol not found
Error relocating ./rslsync: __snprintf_chk: symbol not found
Error relocating ./rslsync: __memset_chk: symbol not found
Error relocating ./rslsync: __fdelt_chk: symbol not found
Error relocating ./rslsync: __xstat: symbol not found
Error relocating ./rslsync: __realpath_chk: symbol not found
Error relocating ./rslsync: __sprintf_chk: symbol not found

Install Entware

wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh
root@GoogleWifi:~# export LD_LIBRARY_PATH=/opt/lib
root@GoogleWifi:~# /opt/bin/rslsync 
-ash: /opt/bin/rslsync: not found
root@GoogleWifi:~# ldd /opt/bin/rslsync 
	/lib/ld-linux.so.3 (0xb6f85000)
	libpthread.so.0 => /lib/ld-linux.so.3 (0xb6f85000)
	libcrypt.so.1 => /opt/lib/libcrypt.so.1 (0xb6f44000)
	librt.so.1 => /lib/ld-linux.so.3 (0xb6f85000)
	libdl.so.2 => /lib/ld-linux.so.3 (0xb6f85000)
	libm.so.6 => /lib/ld-linux.so.3 (0xb6f85000)
	libc.so.6 => /lib/ld-linux.so.3 (0xb6f85000)
	ld-linux.so.3 => /opt/lib/ld-linux.so.3 (0xb6f13000)
Error relocating /opt/lib/libcrypt.so.1: __stpncpy: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __open_nocancel: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __read_nocancel: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __snprintf: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __explicit_bzero_chk: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __libc_alloca_cutoff: symbol not found
Error relocating /opt/lib/libcrypt.so.1: __close_nocancel: symbol not found
Error relocating /opt/lib/libcrypt.so.1: errno: symbol not found
Error relocating /opt/bin/rslsync: pthread_attr_setaffinity_np: symbol not found
Error relocating /opt/bin/rslsync: __memcpy_chk: symbol not found
Error relocating /opt/bin/rslsync: __longjmp_chk: symbol not found
Error relocating /opt/bin/rslsync: getcontext: symbol not found
Error relocating /opt/bin/rslsync: __vsnprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: __fprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: setcontext: symbol not found
Error relocating /opt/bin/rslsync: __strftime_l: symbol not found
Error relocating /opt/bin/rslsync: makecontext: symbol not found
Error relocating /opt/bin/rslsync: __strcpy_chk: symbol not found
Error relocating /opt/bin/rslsync: __register_atfork: symbol not found
Error relocating /opt/bin/rslsync: mallopt: symbol not found
Error relocating /opt/bin/rslsync: __recv_chk: symbol not found
Error relocating /opt/bin/rslsync: __fxstat: symbol not found
Error relocating /opt/bin/rslsync: __snprintf_chk: symbol not found
Error relocating /opt/bin/rslsync: __memset_chk: symbol not found
Error relocating /opt/bin/rslsync: __fdelt_chk: symbol not found
Error relocating /opt/bin/rslsync: __xstat: symbol not found
Error relocating /opt/bin/rslsync: __realpath_chk: symbol not found
Error relocating /opt/bin/rslsync: __sprintf_chk: symbol not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment