CQ-editor
CQ-editor copied to clipboard
Installer doesn't work on linux systems with libc other than glibc
$ sh CQ-editor-master-Linux-x86_64.sh
...
Unpacking payload ...
CQ-editor-master-Linux-x86_64.sh: 493: /home/murray/cq-editor/_conda: not found
The "not found" here is referring to the libc which it is trying to load.
$ ldd /home/murray/cq-editor/_conda
/lib64/ld-linux-x86-64.so.2 (0x7f3b3ebd6000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f3b3ebd6000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f3b3ebd6000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f3b3ebd6000)
Error relocating /home/murray/cq-editor/_conda: __snprintf_chk: symbol not found
Error relocating /home/murray/cq-editor/_conda: __realpath_chk: symbol not found
Error relocating /home/murray/cq-editor/_conda: __strdup: symbol not found
Error relocating /home/murray/cq-editor/_conda: __vsnprintf_chk: symbol not found
Error relocating /home/murray/cq-editor/_conda: __fread_chk: symbol not found
I am on void-linux with musl libc
One way to fix this issue is to compile binaries that are intended to be portable across linux distributions statically so that the only needed ABI at runtime is the linux kernel. Incidentally musl is a good option for this because it is much smaller than glibc.