distributions
                                
                                
                                
                                    distributions copied to clipboard
                            
                            
                            
                        [ERROR] Node.js 20 on Debian buster armv7 fails to run
Describe your bug
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!
Same problem here on Buster coming from nodejs 18.17.1 ....
Dears... Your OS has reached it's End Of Life and nobody will implement a glibc for a dead horse.
So this Information is wrong ?
More like this