Skip to content

Error during build: rust-lld: error: undefined symbol: #1

Description

@jessienab

Not sure why this is failing to build on Arch Linux as all the cargo packages and rust/rust compilation applications match what the Github runner were using, and I can't find any mention of zstd within "Linux dependencies" for the runner.

[user@eaa6dde7ebc7 ~]$ rustup --version
rustup 1.29.0 (2026-03-23)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: the currently active `rustc` version is `rustc 1.96.1 (31fca3adb 2026-06-26)`
[user@eaa6dde7ebc7 ~]$ rustfmt --version
rustfmt 1.9.0-stable (31fca3adb2 2026-06-26)

[user@eaa6dde7ebc7 ~]$ ld.lld --version
LLD 22.1.6 (compatible with GNU linkers)

Main errors during compilation

  = note: rust-lld: error: undefined symbol: ZSTD_createCCtx
          rust-lld: error: undefined symbol: ZSTD_CCtx_setParameter
          rust-lld: error: undefined symbol: ZSTD_isError
          rust-lld: error: undefined symbol: ZSTD_getErrorName
          rust-lld: error: undefined symbol: ZSTD_CCtx_loadDictionary
          rust-lld: error: undefined symbol: ZSTD_freeCCtx
          rust-lld: error: undefined symbol: ZSTD_CCtx_reset
          rust-lld: error: undefined symbol: ZSTD_compressStream
          rust-lld: error: undefined symbol: ZSTD_endStream

Full error.log

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions