You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node 20 cannot start on arm debian bookworm because it depends on a too recent glibc
# nodejs
nodejs: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs)
Distribution Information:
OS: Debian
Version: Buster armhf
Other info if applicable: Can reproduce with docker.io/arm32v7/debian:buster
Node Version:
Node: Node.js v20.11.0-1nodesource1
To Reproduce
Steps to reproduce the behavior:
$ podman run --rm -ti docker.io/arm32v7/debian:buster
root@adccd71248c8:/# apt update && apt install -y curl ca-certificates gnupg
root@adccd71248c8:/# curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
root@adccd71248c8:/# nodejs
nodejs: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
root@adccd71248c8:/# apt install -y libatomic1
root@adccd71248c8:/# nodejs
nodejs: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by nodejs)
Note: the libatomic issue is identical to #1687 but can be worked around, the glibc issue cannot.
Expected behavior
The readme describes debian buster and nodejs 20 as supported, so nodejs should be runnable. nodejs 18 still runs on buster (after installing libatomic1), and nodejs 20 works on buster amd64
Additional context
While slightly different from #1687, I believe the issue would be resolved the same way: since a single repo serves the deb files for all versions of debian and ubuntu, the build host for the package needs to match the lowest denominator.
Checking the tables in the readme, the oldest supported releases are ubuntu focal (libc 2.31) and debian buster (libc 2.28), so buster should be used to build.
(I also checked the libatomic1 package is also present on ubuntu, so that will not be a problem and will automatically be resolved by such a switch)
Thank you!
The text was updated successfully, but these errors were encountered:
Describe your bug
node 20 cannot start on arm debian bookworm because it depends on a too recent glibc
Distribution Information:
Node Version:
To Reproduce
Steps to reproduce the behavior:
Note: the libatomic issue is identical to #1687 but can be worked around, the glibc issue cannot.
Expected behavior
The readme describes debian buster and nodejs 20 as supported, so nodejs should be runnable. nodejs 18 still runs on buster (after installing libatomic1), and nodejs 20 works on buster amd64
Additional context
While slightly different from #1687, I believe the issue would be resolved the same way: since a single repo serves the deb files for all versions of debian and ubuntu, the build host for the package needs to match the lowest denominator.
Checking the tables in the readme, the oldest supported releases are ubuntu focal (libc 2.31) and debian buster (libc 2.28), so buster should be used to build.
(I also checked the libatomic1 package is also present on ubuntu, so that will not be a problem and will automatically be resolved by such a switch)
Thank you!
The text was updated successfully, but these errors were encountered: