My full question is detailed here.
In short, when I try to compile nginx to a custom (newer) version of OpenSSL than is installed on my server (Ubuntu), I get the error below:
relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
Any ideas on how to solve this? I am not finding much on the interwebs already. Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @jsamuel:
Hi, keep in mind that distros such as Ubuntu backport security fixes to packages like OpenSSL. That is, the version number doesn’t change but security fixes are still applied as long as you’re updating your server with the latest packages. So, if you had a specific OpenSSL feature you need from a newer version, you may need to upgrade. But if you’re doing this because the old version number is bothering you, then I strongly recommend against it. If you stop using the secure and fully patched versions of OpenSSL provided by Ubuntu, then you’ll need to start watching every time a new OpenSSL version is released and compiling it as well as recompiling any software that statically links to it. And in cases where there are major security events where distros such as Ubuntu get advanced knowledge and all coordinate releasing their fixes along with the announcement, you’ll be behind while the rest of the world had instant access to the patched packages.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.