The decision to build NodeJS 18's binaries on newer environments needs to be fixed. Saying so directly conflicts with NodeJS's official documentation, which lists off required dependencies that are all available just from Ubuntu 18.04's apt repository. NodeJS 18 itself does not require glibc 2.28 or later to function. No PPAs, external repos, or source builds (besides the building of NodeJS itself) were used in the process of bringing you the screenshot above. You can find more information in the release Good morning/afternoon/evening. Node.js 18 is compatible with Linux distributions based on glibc 2.28 or later, for example, Debian 10, RHEL 8, and Ubuntu 20.04. That's just a guess based on what I remember from ~ 4 years ago. I'm not in the node universe anymore really and haven't been for some time. So it may just not be possible to do sanely, where by "sanely" I mean "without forcibly changing the version of libstdc++ on the target machine" which would likely have mountains of disastrous side effects.Īgain, I need to stress that I don't know if that's what's going on here. In some cases, RedHat had provided modified versions of gcc that would somehow get around older libstdc++ limitations, but without those compilers, there simply wouldn't have been anything we could do. Meaning that you simply couldn't compile or run V8 on systems that didn't have a sufficiently new libstdc++. I can tell you from memory that when things like this (making newer versions of node work on older systems) happened back when I was dealing with it, the problem was usually that V8 started using some C++ feature that required a fairly modern C++ compiler, which in turn required a more modern version of libstdc++. I haven't worked at Nodesource in over three years and my access to any of the relevant build infrastructure that I'd need to see what's going on has long been revoked. This is disingenuous, the majority of these will not work (xenial, stretch, buster, bionic)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |