Closed rchikhi closed 1 year ago
and binaries are also not compatible:
$ kmtricks-v1.2.1-bin-Linux/bin/kmtricks
Illegal instruction
Ah, this is possibly a libc issue (for copy_file_range
). Amazon Linux's libc is 2.26 and as per
https://www.gnu.org/software/gnulib/manual/html_node/copy_005ffile_005frange.html:
This function exists only on Linux and FreeBSD and is therefore missing on many non-glibc platforms: glibc 2.26 [..]
Thus, I suspect there is no way to fix (as upgrading libc on EC2 seems.. tricky). Installing using conda worked, and thus seems to be the only way to get kmtricks working on that system. Feel free to close this issue.
Thank you for reporting that. A workaround is already implemented for macOS, I will make a change in the next release to use the same implementation on non-glibc systems.
Error I get when compiling
kmtricks
on a fresh EC2 server:system: