You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: OpenWRT running LEDE OpenWrt 19.07.7
homeassistant: 2021.1.5 (latest support Python3.7)
pip3 list
Package Version
cryptography 3.2.1
homeassistant 2021.1.5
opkg files libopenssl
Package libopenssl1.1 (1.1.1j-1) is installed on root and has the following files:
/usr/lib/libcrypto.so.1.1
/usr/lib/libssl.so.1.1
Issue:
I was able to loaded the require packages and started HA on OpenWrt. However, a lot of components (HomeKit, cloud, mobile_app, apple_tv) can't run with the following error
ImportError: Error relocating /usr/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: SSL_library_init: symbol not found
I did my research and found it seems SSL_library_init no longer get supported under libssl.1.1. However it seem after install cryptography (2.8,3.0,3.2), this symbol keep being called by cryptography.
There might be a modification needed at ssl.h to ensure it's not call SSL_library_init but OpenSSL_init_SSL instead as in the following ssl.h from other openssl package
Could someone please help recompile ssl.h file that is suitable for this implementation? I tried copy this ssl.h from the net but no luck during reinstall cryptography.
Thanks a bunch.
The text was updated successfully, but these errors were encountered:
Hi guys,
Environment:
Platform: OpenWRT running LEDE OpenWrt 19.07.7
homeassistant: 2021.1.5 (latest support Python3.7)
pip3 list
Package Version
cryptography 3.2.1
homeassistant 2021.1.5
opkg files libopenssl
Package libopenssl1.1 (1.1.1j-1) is installed on root and has the following files:
/usr/lib/libcrypto.so.1.1
/usr/lib/libssl.so.1.1
Issue:
I was able to loaded the require packages and started HA on OpenWrt. However, a lot of components (HomeKit, cloud, mobile_app, apple_tv) can't run with the following error
ImportError: Error relocating /usr/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: SSL_library_init: symbol not found
I did my research and found it seems SSL_library_init no longer get supported under libssl.1.1. However it seem after install cryptography (2.8,3.0,3.2), this symbol keep being called by cryptography.
There might be a modification needed at ssl.h to ensure it's not call SSL_library_init but OpenSSL_init_SSL instead as in the following ssl.h from other openssl package
if OPENSSL_API_COMPAT < 0x10100000L
define SSL_library_init() OPENSSL_init_ssl(0, NULL)
endif
Could someone please help recompile ssl.h file that is suitable for this implementation? I tried copy this ssl.h from the net but no luck during reinstall cryptography.
Thanks a bunch.
The text was updated successfully, but these errors were encountered: