Error when compiling nginx from source using a custom version of OpenSSL.
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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.