I’m using a RUT956 gateway and running a python script that forwards data from the gateway to an external endpoint.
After updating from firmware version RUT9M_R_00.07.06.6, to the latest firmware (RUT9M_R_00.07.08.2) I now get the following error when importing the SSL module in python:
File “/usr/lib/python3.9/ssl.py”, line 98, in
ImportError: Error relocating /usr/lib/python3.9/lib-dynload/_ssl.cpython-39.so: DH_free: symbol not found
From researching this error, I’m arriving to the conclusion that the version of the python package available for the gateway is incompatible with the version of the SSL package.
In the firmware changelog for RUT9M_R_00.07.08, one of the changes is:
- SSL/TLS: updated version to 3.0.14
Has anyone else encountered this problem or knows how I can upgrade the python SSL module to be compatible with the openwrt SSL package?
Here is a list of the relevant packages installed in the gateway:
- libopenssl-conf - 3.0.14-1
- libopenssl-legacy - 3.0.14-1
- libopenssl3 - 3.0.14-1
- openssl-util - 3.0.14-1
- python3 - 3.9.7-2
- python3-openssl - 3.9.7-2
These packages are all up to date after running the commands:
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf upgrade [package name]