Dashboardopencode-loreLinux ORT glibc detection

Linux ORT glibc detection

Category: gotcha
Confidence: 1.00
ID: 01a0a650-8b7a-75d3-9cf8-fa5a5e641982
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0JhZubf6KiZuuXUlD
Created: 2026-09-15 18:24:51
Updated: 2026-09-15 18:24:51

Content

Trap: mapping native ONNX Runtime by linux-<arch> looks sufficient because npm already gates packages by OS and CPU, but the shipped addon requires libc.so.6 and GLIBC symbols and will be selected on musl. Fix: distinguish glibc from musl before release-package or workspace resolution and return null on unsupported libc, because loader failure after native commitment does not automatically fall back to WASM.

Move to: