{"record":{"id":"fe2154199b7773b3","repo":"jdx/mise","slug":"remote-host-does-not-provide-the-dynamic-load","errorCode":null,"errorMessage":"remote host '{}' does not provide the dynamic loader required by local mise: {interpreter}; set mise_bin, remote_mise, or bootstrap_command","messagePattern":"remote host '(.+?)' does not provide the dynamic loader required by local mise: (.+?); set mise_bin, remote_mise, or bootstrap_command","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/system/remote.rs","lineNumber":1764,"sourceCode":"        // A static ELF has no runtime loader or libc compatibility constraint.\n        return Ok(());\n    };\n    let local_output = Command::new(&interpreter).arg(\"--version\").output()?;\n    let local_libc = parse_libc_flavor(&combined_output(&local_output)).ok_or_else(|| {\n        eyre!(\n            \"could not identify the libc used by local mise loader {interpreter}; set mise_bin, remote_mise, or bootstrap_command\"\n        )\n    })?;\n    let check = format!(\n        \"if test -x {loader}; then {loader} --version 2>&1 || true; else printf '%s\\\\n' MISE_LOADER_MISSING; fi\",\n        loader = shell_quote(&interpreter),\n    );\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(|| {","sourceCodeStart":1746,"sourceCodeEnd":1782,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/system/remote.rs#L1746-L1782","documentation":"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.","triggerScenarios":"Thrown at src/system/remote.rs:1764 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set mise_bin to a remote-compatible mise binary","Set remote_mise to a command that installs/obtains mise on the remote","Set bootstrap_command to provision the loader/libc before mise runs"],"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"}