I’m setting up a web server and trying to install services like Apache, MySQL, and PHP. When I tried to install MySQL from source, I keep getting this error:
ImportError: /lib64/libldap.so.2: undefined symbol: EVP_md2, version OPENSSL_3.0.0
Now, even when I try to remove services for a clean installation, I still see the same error. I’m pretty new to this and could really use some help on how to fix this issue. Any advice is appreciated.
It might be easier to just reinstall your system if it’s all messed up. Use your operating system’s package manager to install MySQL instead of trying to install from source unless you know what you’re doing.
If this is a VPS or a dedicated server, you should be able to reimage it and start fresh. Just make sure to back up any important data first.
What OS are you using, and what steps have you tried so far? You might also get good advice from /r/linuxadmin or /r/linux4noobs, but definitely avoid source installs unless it’s necessary.