Skip to content

Missing dependencies for aws-lc-sys #1334

@fallingcats

Description

@fallingcats

Description
Trying to compile from source fails on Raspberry Pi OS fails when cmake libclang-dev isn't installed as they're needed for the aws-lc-sys crate (pulled in from hyper-rustls > rustls,rustls-webpki) . The wiki should probably mention this.

To Reproduce
I compiled with cargo build -j3 -Z unstable-options --artifact-dir ../../ --bins --no-default-features -F pulseaudio_backend,dbus_mpris on Raspberry Pi OS Lite (bookworm)

Expected behavior
Compiles when everything mentioned in Building from source is installed

Logs

Click to show logs
<!-- PLEASE PASTE YOUR LOGS BELOW THIS LINE WHEN REPORTING BUGS. Make sure to run spotifyd using the `--verbose` flag -->
<!-- They have to be betwenn the `/summary` and the `/details` HTML tags, and inside the backticks '`' -->  

  thread 'main' panicked at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.69.5/lib.rs:622:31:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"

Versions (please complete the following information):

  • OS: Raspberry Pi OS Lite (bookworm)
  • Spotifyd: fa635ca
  • cargo: cargo 1.86.0-nightly (045bf21b3 2025-01-17)

Additional info:
This wasn't a problem a month before release

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA functionality or parts of a program that do not work as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions