jdx/mise · error

could not identify the libc provided by remote loader

Error message

could not identify the libc provided by remote loader {interpreter} on '{}'; set mise_bin, remote_mise, or bootstrap_command

What it means

Remote loader probing: the loader exists on the remote and its --version output was captured, but parse_libc_flavor could not tell whether it is glibc or musl from that output, so compatibility with the local mise binary cannot be decided.

Solutions

  1. Override detection with mise_bin, remote_mise, or bootstrap_command
  2. Check the loader's version output manually and report the unrecognized format
  3. Use a remote mise built for the remote's libc
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/system/remote.rs:1776 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/8394ab178fdc3145. Report an issue: GitHub.

Appendix: source

Thrown at src/system/remote.rs:1776

    );
    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(|| {
            eyre!(
                "could not determine the glibc ABI required by local mise; set mise_bin, remote_mise, or bootstrap_command"
            )
        })?,
        LibcFlavor::Musl => parse_musl_runtime_version(&combined_output(&local_output))
            .ok_or_else(|| {
                eyre!(
                    "could not determine the musl version used by local mise loader {interpreter}; set mise_bin, remote_mise, or bootstrap_command"
                )
            })?,
    };
    let available = match remote_libc {

View on GitHub (pinned to 533346cc37)