[kwlug-disc] Quirks with linking and glibc versions

Mikalai Birukou mb at 3nsoft.com
Thu Feb 12 23:47:03 EST 2026


I am make electron app with lot's of utility. Electron is kinda glue 
point at the moment.

I start to make functionality in Rust. So, it gets glued into Electron 
with NAPI, as dynamic libraries.

I am lazy sys-admin. I am not even cos-playing sys-admin. As a result, 
my runner in CI pipeline for builds and tests is Ubuntu Old. I was to 
upgrade it a notch, but it is still old.

This old machine compiles and runs all my code in dynamic libraries.

Then, necessity pushes me to move napi modules into npm repository. And 
being lazy, I build and publish these from local machine. Local machine 
is newer with the fresh mint (sub-atomic distro, as we've heard). 
Everything run on this machine. But older machine, getting code from 
npm, just breaks.

Break complains about missing glibc (one has to peal off misleading 
wrapper error message to see it).

When I flip everything to assemble binaries for npm in older machine, 
all newer and older machine works.

It sounds like one better build code on older machines. Note that Rust 
is same version on all machines.

ldd --version on machines shows: 2.39 and 2.31.

Should I look for something ancient to ensure broadest coverage?
What is the wisdom here?




More information about the kwlug-disc mailing list