Recent Stockfish engines - cannot run on Linux - help request

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

royb
Posts: 574
Joined: Thu Mar 09, 2006 12:53 am

Recent Stockfish engines - cannot run on Linux - help request

Post by royb »

For over two months now, Stockfish engines put up for download on github are not able to run on my Linux Mint 20.2 system. I get these errors when I try to run them:

./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./stockfish_22010217_x64_avx2)
./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./stockfish_22010217_x64_avx2)
./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./stockfish_22010217_x64_avx2)

The last SF engine I downloaded that does run on my system is from Oct 31, 2021.

I thought upgrading my system to Mint 20.3 might help, but that did not solve the problem. If anyone knows how to fix this, please post here, and thanks in advance!
tcusr
Posts: 325
Joined: Tue Aug 31, 2021 10:32 pm
Full name: tcusr

Re: Recent Stockfish engines - cannot run on Linux - help request

Post by tcusr »

royb wrote: Sat Jan 08, 2022 5:36 pm For over two months now, Stockfish engines put up for download on github are not able to run on my Linux Mint 20.2 system. I get these errors when I try to run them:

./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./stockfish_22010217_x64_avx2)
./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./stockfish_22010217_x64_avx2)
./stockfish_22010217_x64_avx2: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./stockfish_22010217_x64_avx2)

The last SF engine I downloaded that does run on my system is from Oct 31, 2021.

I thought upgrading my system to Mint 20.3 might help, but that did not solve the problem. If anyone knows how to fix this, please post here, and thanks in advance!
a quick google search https://superuser.com/questions/537683/ ... -not-found
mint has old packages, you're better off compiling it yourself
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Recent Stockfish engines - cannot run on Linux - help request

Post by pedrox »

I have Linux Mint 20.3 and it has glibc 2.31 (use command ldd --version). On Ubuntu 21.10 glibc is 2.34.
You can create your own executable on Linux Mint or ask someone to create an executable on linux with glibc 2.31 or lower.

Anyway, the executable I downloaded (avx2 version) from the stockfish page does not give me an error for glibc on Linux Mint 20.3.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Recent Stockfish engines - cannot run on Linux - help request

Post by pedrox »

If you want to try this version of stockfish 14.1 compiled on Linux Mint 20.3 with gcc 9.3 and glibc 2.31...

https://www.mediafire.com/file/p9j78fyq ... kfish/file
royb
Posts: 574
Joined: Thu Mar 09, 2006 12:53 am

Re: Recent Stockfish engines - cannot run on Linux - help request

Post by royb »

pedrox wrote: Sun Jan 09, 2022 8:09 pm I have Linux Mint 20.3 and it has glibc 2.31 (use command ldd --version). On Ubuntu 21.10 glibc is 2.34.
You can create your own executable on Linux Mint or ask someone to create an executable on linux with glibc 2.31 or lower.

Anyway, the executable I downloaded (avx2 version) from the stockfish page does not give me an error for glibc on Linux Mint 20.3.
Interesting. That makes me think that when I upgrade from one Linux Mint version to a newer one, the upgrade process is not taking care of things like glibc getting updated, which I believe is an oversight in the upgrade process. I will create a new instance of Linux Mint from scratch and see what version of glibc I get that way.

Thanks to all who responded to my query on this thread!