[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-native-library-headers-missing":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":18,"lead":19,"facts":22,"why":38,"log":43,"fix":75,"engine":84,"related":92,"pitch":103},"rust","native-library-headers-missing","Rust build fails because libclang is missing","Rust",{"description":9},"A dependency has to be compiled and needs development headers that the build image does not carry (pkg-config, or a library it queries). The full output is in t",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Frust",{"label":6},"Rust build fails because ","libclang is missing",[20],{"text":21},"A dependency has to be compiled and needs development headers that the build image does not carry (pkg-config, or a library it queries). The full output is in the deploy log, naming the dependency.",[23,28,31,33],{"label":24,"value":25,"tone":26,"tooltip":27},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":29,"value":30},"Seen","12 times · 5 variants",{"label":32,"value":7},"Where",{"label":34,"value":35,"tone":36,"tooltip":37},"Status","Fixed (2.1.0)","ok","Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.",{"heading":39,"body":40},"Why it happens",[41],{"text":42},"A Rust dependency is compiling native code with bindgen, but the build environment cannot find libclang. The log also shows restricted access to the APT package-list directory, so required development packages may not be installable during the build.",{"heading":44,"block":45},"What the log looks like",{"header":46,"lines":47},"Deploy log",[48,52,56,60,64,67,71],{"segments":49},[50],{"text":51},"E: List directory \u002Fvar\u002Flib\u002Fapt\u002Flists\u002Fpartial is missing. - Acquire (13: Permission denied)",{"segments":53},[54],{"text":55},"...",{"segments":57},[58],{"text":59},"thread 'main' panicked at ...\u002Fbindgen-0.72.1\u002Flib.rs:",{"segments":61},[62],{"text":63},"Unable to find libclang: \"couldn't find any ...",{"segments":65,"blank":66},[],true,{"segments":68},[69],{"text":70},"cargo:rustc-link-lib=static=zstd",{"segments":72},[73],{"text":74},"cargo:root=...\u002Fzstd-sys-...\u002Fout",{"heading":76,"steps":77,"block":81},"How to fix it",[78],[79],{"text":80},"Fixed in engine 2.1.0. The same repository deploys past this point on engine 2.1.0; this failure no longer occurs. Redeploy the project.",{"header":82,"lines":83},"Fix by hand",[],{"heading":85,"body":86,"block":89},"How PanelAlpha Engine solves it",[87],{"text":88},"Not reproduced on engine 2.1.0 (commit 133832712): redeployed gitlab.com\u002Ffamedly\u002Fconduit (partial) on the engine test hosts on 2026-09-30; no new event on this fingerprint.",{"header":90,"lines":91},"",[],{"heading":93,"items":94},"Apps affected",[95,99],{"title":96,"badge":97,"tone":26,"href":98},"Conduit","9 occurrences","\u002Fapps\u002Fgitlab.com\u002Ffamedly\u002Fconduit",{"title":100,"badge":101,"tone":26,"href":102},"vector","3 occurrences","\u002Fapps\u002Fvectordotdev\u002Fvector",{"heading":104,"body":105,"footNote":106,"docsLabel":107,"docsHref":108},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]