jdx/mise · error

remote host ' ' does not provide the dynamic loader…

Error message

remote host '{}' does not provide the dynamic loader required by local mise: {interpreter}; set mise_bin, remote_mise, or bootstrap_command

What it means

Remote libc compatibility probing ran the loader check on the remote and got the MISE_LOADER_MISSING sentinel: the dynamic loader path required by the local mise binary (from its ELF interpreter) does not exist on the remote host, so local mise cannot run there as-is.

Solutions

  1. Set mise_bin to a remote-compatible mise binary
  2. Set remote_mise to a command that installs/obtains mise on the remote
  3. Set bootstrap_command to provision the loader/libc before mise runs
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/system/remote.rs:1764 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17). Data as JSON: /api/errors/fe2154199b7773b3. Report an issue: GitHub.

Appendix: source

Thrown at src/system/remote.rs:1764

        // A static ELF has no runtime loader or libc compatibility constraint.
        return Ok(());
    };
    let local_output = Command::new(&interpreter).arg("--version").output()?;
    let local_libc = parse_libc_flavor(&combined_output(&local_output)).ok_or_else(|| {
        eyre!(
            "could not identify the libc used by local mise loader {interpreter}; set mise_bin, remote_mise, or bootstrap_command"
        )
    })?;
    let check = format!(
        "if test -x {loader}; then {loader} --version 2>&1 || true; else printf '%s\\n' MISE_LOADER_MISSING; fi",
        loader = shell_quote(&interpreter),
    );
    let remote_output = session.output_async(&["sh", "-c", &check]).await?;
    if remote_output
        .lines()
        .any(|line| line == "MISE_LOADER_MISSING")
    {
        bail!(
            "remote host '{}' does not provide the dynamic loader required by local mise: {interpreter}; set mise_bin, remote_mise, or bootstrap_command",
            session.host.name
        );
    }
    let remote_libc = parse_libc_flavor(&remote_output).ok_or_else(|| {
        eyre!(
            "could not identify the libc provided by remote loader {interpreter} on '{}'; set mise_bin, remote_mise, or bootstrap_command",
            session.host.name
        )
    })?;
    if local_libc != remote_libc {
        bail!(
            "remote host '{}' libc {remote_libc:?} is incompatible with local mise libc {local_libc:?}; set mise_bin, remote_mise, or bootstrap_command",
            session.host.name
        );
    }
    let required = match local_libc {
        LibcFlavor::Glibc => max_required_glibc_version(&binary_bytes).ok_or_else(|| {

View on GitHub (pinned to 533346cc37)