Thank you so much. I've copied redis-server and redis-cli, but there are some errors when I trying to run redis.
/tmp/usr/src/a/redis-5.0.5-arm32v7 # ./redis-server
-sh: ./redis-server: not found
/tmp/usr/src/a/redis-5.0.5-arm32v7 # ./redis-cli
-sh: ./redis-cli: not found
I think there are something wrong with my shard library.
$ sudo arm-nuvoton-linux-uclibceabi-readelf -d redis-5.0.5-arm32v7/redis-server
Dynamic section at offset 0x104ee8 contains 31 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]
$ sudo ldd redis-5.0.5-arm32v7/redis-server
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for '/usr/lib/libpthread.so.0'
checking sub-depends for 'not found'
checking sub-depends for '/usr/lib/libdl.so.0'
checking sub-depends for '/usr/lib/libc.so.0'
libm.so.6 => not found (0x00000000)
libdl.so.2 => not found (0x00000000)
librt.so.1 => not found (0x00000000)
libgcc_s.so.1 => not found (0x00000000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00000000)
libc.so.6 => not found (0x00000000)
libdl.so.0 => /usr/lib/libdl.so.0 (0x00000000)
libc.so.0 => /usr/lib/libc.so.0 (0x00000000)
/lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
My libraries in /lib mostly are in version 0.9.33.2, and there is no libm.so.6 etc.

在 2019年11月17日星期日 UTC+8下午10:40:33,Rafi Einstein写道: