07-15-2023, 04:24 PM
Tried LD_LIBRARY_PATH today. Looks this won't work as well. Could be musl's different implement. Will iVentoy have a static linked version?
Here's ldd output after LD_LIBRARY_PATH set to lin64.
ldd /root/iventoy/iventoy-1.0.10/lib/iventoy
/lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libglib-2.0.so.0 => /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0 (0x7fb9bdb4c000)
libgthread-2.0.so.0 => /root/iventoy/iventoy-1.0.10/lib/lin64/libgthread-2.0.so.0 (0x7fb9bd94a000)
libevent-2.1.so.7 => /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7 (0x7fb9bd6f5000)
libevent_pthreads-2.1.so.7 => /root/iventoy/iventoy-1.0.10/lib/lin64/libevent_pthreads-2.1.so.7 (0x7fb9bd4f2000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libwim.so.15 => /root/iventoy/iventoy-1.0.10/lib/lin64/libwim.so.15 (0x7fb9bd282000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libiconv.so.2 => /root/iventoy/iventoy-1.0.10/lib/lin64/libiconv.so.2 (0x7fb9bcf9d000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: __isnan: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: strtoull_l: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: strtoll_l: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __strtok_r: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __strdup: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __rawmemchr: symbol not found
Here's ldd output after LD_LIBRARY_PATH set to lin64.
ldd /root/iventoy/iventoy-1.0.10/lib/iventoy
/lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libglib-2.0.so.0 => /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0 (0x7fb9bdb4c000)
libgthread-2.0.so.0 => /root/iventoy/iventoy-1.0.10/lib/lin64/libgthread-2.0.so.0 (0x7fb9bd94a000)
libevent-2.1.so.7 => /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7 (0x7fb9bd6f5000)
libevent_pthreads-2.1.so.7 => /root/iventoy/iventoy-1.0.10/lib/lin64/libevent_pthreads-2.1.so.7 (0x7fb9bd4f2000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libwim.so.15 => /root/iventoy/iventoy-1.0.10/lib/lin64/libwim.so.15 (0x7fb9bd282000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
libiconv.so.2 => /root/iventoy/iventoy-1.0.10/lib/lin64/libiconv.so.2 (0x7fb9bcf9d000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fb9bdebe000)
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: __isnan: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: strtoull_l: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libglib-2.0.so.0: strtoll_l: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __strtok_r: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __strdup: symbol not found
Error relocating /root/iventoy/iventoy-1.0.10/lib/lin64/libevent-2.1.so.7: __rawmemchr: symbol not found