OpenSSL Config Error
Aneeq Abid
aneeqabid at gmail.com
Mon Oct 5 10:06:53 UTC 2020
Hi,
I have no familiarization with OpenSSL. I am installing it as a dependency
for installing Erlang. I am using this guide:
https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/
Version installing is openssl-1.0.2l
I am facing the following error on make [3] while configuring OpenSSL. Can
someone please guide me through it:
make[3]: Entering directory '/media/erlang/openssl-1.0.2l'
make[4]: Entering directory '/media/erlang/openssl-1.0.2l'
/usr/bin/ld: libcrypto.a(gost_eng.o): relocation R_X86_64_PC32 against
symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile.shared:169: recipe for target 'link_a.gnu' failed
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory '/media/erlang/openssl-1.0.2l'
Makefile:357: recipe for target 'do_linux-shared' failed
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory '/media/erlang/openssl-1.0.2l'
Makefile:310: recipe for target 'libcrypto.so.1.0.0' failed
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory '/media/erlang/openssl-1.0.2l'
Makefile:109: recipe for target 'shared' failed
make[1]: *** [shared] Error 2
make[1]: Leaving directory '/media/erlang/openssl-1.0.2l/crypto'
Makefile:287: recipe for target 'build_crypto' failed
make: *** [build_crypto] Error 1
I used the following command to configure:
sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared
zlib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20201005/c2cc6646/attachment-0001.html>
More information about the openssl-users
mailing list