Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer doesn't work on linux systems with libc other than glibc #492

Open
ii8 opened this issue Feb 21, 2025 · 0 comments
Open

Installer doesn't work on linux systems with libc other than glibc #492

ii8 opened this issue Feb 21, 2025 · 0 comments

Comments

@ii8
Copy link

ii8 commented Feb 21, 2025

$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant