Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependencies for aws-lc-sys #1334

Open
fallingcats opened this issue Mar 9, 2025 · 0 comments
Open

Missing dependencies for aws-lc-sys #1334

fallingcats opened this issue Mar 9, 2025 · 0 comments
Labels
bug A functionality or parts of a program that do not work as intended

Comments

@fallingcats
Copy link

fallingcats commented Mar 9, 2025

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

@fallingcats fallingcats added the bug A functionality or parts of a program that do not work as intended label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A functionality or parts of a program that do not work as intended
Projects
None yet
Development

No branches or pull requests

1 participant