![]() ![]() Note: The path might vary depending upon your installation. yum install openssl-devel Reinstalling python3 again (./configure, make and make altinstall) made pip3 work with ssl. yum downgrade pcre krb5-libs openssl-libs openssl Now, installation of openssl-devel was successful. Add OpenSSL libraries to ld.so.conf file as shown below: # vim /etc/ld.so.confĪdd below line to the end of the file: /usr/local/openssl/lib/ 1 Answer Sorted by: 2 Downgrading dependencies fixed the dependency issue. Lookout for the libssl and libcrypto shared object files.ģ) Set library to the path: You might have the libraries installed, but may not be in the path. Libcrypto.a libcrypto.so.1.0.0 libssl.so pkgconfig Sample output: # cd /usr/local/openssl/libĮngines libcrypto.so libssl.a libssl.so.1.0.0 ![]() For example, if the OpenSSL is installed in /usr/local/openssl, then you will find lib folder containing library files as shown below: # yum install openssl-develĢ) Check for libssl and libcrypto shared object files: Look out for the lib folder under OpenSSL installation directory (in case of yum install, the libraries might be present in /usr/lib or /usr/lib64). If rpm -qa lists openssl-devel, then you mostly probably have libssl libraries installed. Make sure openssl-devel package is installed as shown below: # rpm -qa |grep openssl There are few things that you might need to check:ġ) OpenSSL developer package will provide all necessary SSL libraries. python: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory The OpenSSL installation directory is /usr/local/openssl.īelow is the complete error message: $ make According to the installation guide, I installed OpenSSL and then edited Setup.dist file to refer the OpenSSL installation path. However, the installation failed with an error message error while loading shared libraries: libssl.so.1.0.0 cannot open shared object file during make. When I try to disable pyenv by removing eval "$(pyenv init -)" and eval "$(pyenv virtualenv-init -)" from the ~/.bash_profile, it works fine as it uses the system Python version.Ī short term solution is to add -trusted-host flag, but I am not sure why it is not working without the flag.Question: Thanks to the guide on How to compile and install Python with OpenSSL Support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |