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

Compilation of rust-ssl while mariadb is installed doesn't work #1433

Closed
thakyZ opened this issue Mar 14, 2021 · 2 comments
Closed

Compilation of rust-ssl while mariadb is installed doesn't work #1433

thakyZ opened this issue Mar 14, 2021 · 2 comments

Comments

@thakyZ
Copy link

thakyZ commented Mar 14, 2021

While I attempt to build rust-openssl on Ubuntu 20.04 it throws an error that opensslconf.h doesn't exist.
I figured out that I needed to install a different OpenSSL version via #603. But when I went to aptitude to figure out what was preventing the specific version of OpenSSL to be installed.

And it turns out MariaDB from the deb-src http://mariadb.mirror.globo.tech/repo/10.5/ubuntu has a different SSL version it depends on. Now the SSL version has a conf.h, but it doesn't seem to want to compile against it when I copy it over to a new file with the right name.

So is there any way around this or do I have to just compile it after I temporarily uninstall MariaDB which isn't ideal.

@sfackler
Copy link
Owner

conf.h is a separate, unrelated bit of the OpenSSL API than opensslconf.h. What specific version of OpenSSL is that repository trying to install? As far as I'm aware, opensslconf.h has been part of OpenSSL's public API ~forever.

@thakyZ
Copy link
Author

thakyZ commented Mar 17, 2021

I figured it out apparently I was using a different repository than what was officially supported. If anyone encounters this issue it is the repo on the main MariaDB page you will want to use here specifically Jalceo. Which is what worked for me. Also, @sfackler I am not sure if I recall what I tried because I have since gotten rid of the broken version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants