-
-
Notifications
You must be signed in to change notification settings - Fork 761
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
Failure to find appropriate headers on Ubuntu 24.04 despite having libssl-dev
installed
#2217
Comments
I'm also able to reproduce the same behavior on Ubuntu 22.04 |
Using cargo from a |
Ok, using cargo from |
With
|
This also happens when utilizing zig as a replacement for cc |
I've had the same issue while trying to build dog v0.1.0. The issue was solved by adding Line added under [dependencies]
openssl = { version = "0.10.35", features = ["vendored"] } After that try EnvironmentOS: Debian GNU/Linux 12 (bookworm) Reference was taken from a Stackoverflow thread. |
thanks man, this really helped |
Thank you, you have successfully solved my problem |
I am also facing the same issue on ubuntu22.04 and I added the symlink. But I am facing the same error for <openssl/opensslconf.h> but not for <opensslconf.h> My include dir is set to /usr/include/openssl where all header files reside. I tried with include dir set to /usr/include so that cmake find in the path /usr/include/openssl directory but it also didn't help. |
I'm currently seeing an error:
Full log available in this gist.
However I have
pkg-config
andlibssl-dev
installed and up to date:Inspecting
/usr/include
, I can see that/usr/include/openssl/
has 133 header files, all the usual suspects, and/usr/include/aarch64-linux-gnu/openssl/
contains two header files:configuration.h
andopensslconf.h
.For reproducibility, I'm attempting to
cargo build
a rust project that depends onopenssl-sys
from within this Docker container:The text was updated successfully, but these errors were encountered: