-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
openssl not found Ubuntu 22.04 #1655
Comments
Did you install the libssl-dev package? |
I get the following output when I try to install it.
|
It seems like something has gone wrong with your Ubuntu install. You need libssl-dev to build against OpenSSL. |
Eventually, I fixed it by building OpenSSL from the source and installing it using |
Hello, I know the issues with OpenSSL are common but I could not find a problem specific to 22.04.
When I try to build
openssl-sys
I get the following output.I have openssl installed but I guess the problem is that it is the 3.0.2 version.
I built OpenSSL-1.1.1n manually from source and tried to run:
OPENSSL_DIR=~/OpenSSL111n/ cargo check
The directory looks as follows:
Now it builds but later in the compilation I get errors from
sqlx
like below:Does anyone have a clue how I could fix it? Maybe there is some other way than building from source?
The text was updated successfully, but these errors were encountered: