Rust build fails because the ODBC library is missing

The project's Rust code does not compile: proc-macro2. The full output is in the deploy log.

Seen28 times · 22 variants
WhereDocker Compose, Dockerfile, Rust

Why it happens

The Rust linker cannot find the ODBC system library required by the application. The build environment also reports that /var/lib/apt/lists/partial is inaccessible, so installing missing packages during the build may fail. This is a dependency or build-image configuration issue, not a repository checkout failure.

What the log looks like

Deploy log
Updating crates.io indexDownloading crates ...Compiling sqlpage v...error: linking with `cc` failed: exit status: 1= note: rust-lld: error: unable to find library -lodbcerror: could not compile `<account>` due to 1 previous error

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 CPURead the documentation