ranisalt / node-argon2

Node.js bindings for Argon2 hashing algorithm
https://www.npmjs.com/package/argon2
MIT License
1.83k stars 90 forks source link

0.40 prebuild fails on Debian bullseye arm64 linux as GLIBC 2.34 is required #409

Open gpetrov opened 3 weeks ago

gpetrov commented 3 weeks ago

During install the following error occurs:

npm ERR! 
npm ERR! Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/node_app/node_modules/argon2/prebuilds/linux-arm64/argon2.armv8.glibc.node)

In debian 11 Bullseye the GLIBC version is 2.31

So please lower the requirement for non breaking compatibility

sullemanhossam commented 2 weeks ago

Same build is failing on m2

ranisalt commented 2 weeks ago

I see that the image used by the linux-arm64-glibc builder is node:20 that maps to node:20-bookworm. I can try downgrading to node:20-bullseye for the next release which should be compatible. Let's just hope no one is still running buster 😆