{"record":{"id":"8394ab178fdc3145","repo":"jdx/mise","slug":"could-not-identify-the-libc-provided-by-remote-loa","errorCode":null,"errorMessage":"could not identify the libc provided by remote loader {interpreter} on '{}'; set mise_bin, remote_mise, or bootstrap_command","messagePattern":"could not identify the libc provided by remote loader (.+?) on '(.+?)'; set mise_bin, remote_mise, or bootstrap_command","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/system/remote.rs","lineNumber":1776,"sourceCode":"    );\n    let remote_output = session.output_async(&[\"sh\", \"-c\", &check]).await?;\n    if remote_output\n        .lines()\n        .any(|line| line == \"MISE_LOADER_MISSING\")\n    {\n        bail!(\n            \"remote host '{}' does not provide the dynamic loader required by local mise: {interpreter}; set mise_bin, remote_mise, or bootstrap_command\",\n            session.host.name\n        );\n    }\n    let remote_libc = parse_libc_flavor(&remote_output).ok_or_else(|| {\n        eyre!(\n            \"could not identify the libc provided by remote loader {interpreter} on '{}'; set mise_bin, remote_mise, or bootstrap_command\",\n            session.host.name\n        )\n    })?;\n    if local_libc != remote_libc {\n        bail!(\n            \"remote host '{}' libc {remote_libc:?} is incompatible with local mise libc {local_libc:?}; set mise_bin, remote_mise, or bootstrap_command\",\n            session.host.name\n        );\n    }\n    let required = match local_libc {\n        LibcFlavor::Glibc => max_required_glibc_version(&binary_bytes).ok_or_else(|| {\n            eyre!(\n                \"could not determine the glibc ABI required by local mise; set mise_bin, remote_mise, or bootstrap_command\"\n            )\n        })?,\n        LibcFlavor::Musl => parse_musl_runtime_version(&combined_output(&local_output))\n            .ok_or_else(|| {\n                eyre!(\n                    \"could not determine the musl version used by local mise loader {interpreter}; set mise_bin, remote_mise, or bootstrap_command\"\n                )\n            })?,\n    };\n    let available = match remote_libc {","sourceCodeStart":1758,"sourceCodeEnd":1794,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/system/remote.rs#L1758-L1794","documentation":"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.","triggerScenarios":"Thrown at src/system/remote.rs:1776 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Override detection with mise_bin, remote_mise, or bootstrap_command","Check the loader's version output manually and report the unrecognized format","Use a remote mise built for the remote's libc"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}