Thank you for super quick fix ). Works like charm. Thanks S
On Wednesday, October 6, 2021, Christian Heimes <christ...@python.org> wrote: > On 06/10/2021 09.06, Sandeep Gupta wrote: > >> Tried with openssl. Some progress but no success. The configure checks >> went through find. >> >configure:17536: checking for openssl/ssl.h in >> /home/kabira/DrivingRange//project_versa/Build >> >s/openssl-1.1.1l >> >configure:17543: result: yes >> >configure:17559: checking whether compiling and linking against OpenSSL >> works >> >Trying link with OPENSSL_LDFLAGS=-L/home/kabira >> /DrivingRange//project_versa/Builds/openssl-1. >> >1.1l/lib; OPENSSL_LIBS=-lssl -lcrypto; OPENSSL_INCLUDES=-I/home/kabir >> a/DrivingRange//project_ >> >versa/Builds/openssl-1.1.1l/include >> >> But for some reason module could not be imported. I could find any errors >> related to import. >> There were no compilation errors: >> >> >Following modules built successfully but were removed because they >> could not be imported: >> >_hashlib _ssl readline >> > > [...] > > *** WARNING: renaming "_ssl" since importing it failed: Cannot load >> specified object >> *** WARNING: renaming "_hashlib" since importing it failed: Cannot load >> specified object >> > > OpenBSD uses clang C compiler. The new --with-openssl-rpath=auto option > was only tested with GCC. It turned out that Python's distutils package > didn't support rpath with clang. The bugfix https://bugs.python.org/issue4 > 5371 will be available in upcoming release Python 3.10.1. > > In the mean time you either need to apply the patch from the issue > manually or figure out the right environment variables to add correct rpath > yourself. > > I'm sorry for the inconvenience. We don't have any CI for OpenBSD. > Apparently this feature was never tested on OpenBSD during the release > candidate phase either. > > Christian >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/XFXP4LRY3WWWXHZLKQTZI7LMRBQOQCAF/ Code of Conduct: http://python.org/psf/codeofconduct/