Skip to content

fix: explain a missing dynamic loader when a process plugin fails to start - #1403

Merged
dsherret merged 1 commit into
mainfrom
fix/process-plugin-missing-loader-error
Oct 25, 2026
Merged

dsherret merged 1 commit into
mainfrom
fix/process-plugin-missing-loader-error

Conversation

@dsherret

Copy link
Copy Markdown
Member

When a process plugin's dynamic loader (ELF interpreter) doesn't exist on the system, such as a glibc-linked plugin on NixOS, spawning it fails with No such file or directory (os error 2) even though the executable exists. This was confusing because it reads like the plugin file is missing (dprint/dprint-plugin-prettier#69).

Now when spawning fails with NotFound on unix and the executable exists, the error says the system is likely missing the dynamic loader or interpreter it needs and mentions nix-ld as a workaround on NixOS.

The existing forget-and-redownload retry is unchanged, so dprint still re-downloads once and then fails with this message.

@dsherret
dsherret merged commit 277c1cc into main Oct 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant