Closed tdegrunt closed 2 months ago
Hi @tdegrunt, it looks like you're trying to use the x86-64 version on aarch64. You'll need to compile the library from source for Debian aarch64.
You can easily read over these things sadly, the solution - for me - was to use:
export DOCKER_DEFAULT_PLATFORM=linux/amd64
.
Also based on: https://stackoverflow.com/a/69636473
Not wanting to reopen this, but there seems to be this binary build (you requested that with google?): https://github.com/google/or-tools/releases/download/v9.9/or-tools_arm64_debian-11_cpp_v9.9.3963.tar.gz Would that work? They didn't make one for 9.10 it seems. Referring to https://github.com/google/or-tools/issues/4136
Yes, it was added in version 0.11.1 of the gem and removed in 0.12.0, as it's not part of the automated OR-Tools release process.
Compile errors must be your most favorite issue, my apologies beforehand. Running Docker desktop on Apple M1 Max.
Do you have any pointers?
Base image: docker.io/library/ruby:3.3.4-slim
uname -a
: Linux 93a3be4fa0d0 6.10.0-linuxkit #1 SMP Wed Jul 17 10:51:09 UTC 2024 aarch64 GNU/Linuxcat /etc/debian_version
: 12.6/usr/local/lib has:
I used the following to install (pretty naive?):
I'm running
gem install or-tools -- --with-or-tools-dir=/usr/local
: