### The problem
Since Version 2022.7.1 the ADS interface is not working anymo…re
Unexpected exception importing component homeassistant.components.ads
Unexpected exception importing platform homeassistant.components.ads.cover
Unexpected exception importing platform homeassistant.components.ads.switch
Unexpected exception importing platform homeassistant.components.ads.light
Unexpected exception importing platform homeassistant.components.ads.sensor
### What version of Home Assistant Core has the issue?
2022.7.1
### What was the last working version of Home Assistant Core?
2022.6.7
### What type of installation are you running?
Home Assistant Core
### Integration causing the issue
ADS Twincat
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/ads/
### Diagnostics information
Since Version 2022.7.1 the ADS interface is not working anymore:
Logger: homeassistant.loader
Source: components/ads/init.py:10
First occurred: 14:44:51 (96 occurrences)
Last logged: 14:45:02
Unexpected exception importing component homeassistant.components.ads
Unexpected exception importing platform homeassistant.components.ads.cover
Unexpected exception importing platform homeassistant.components.ads.switch
Unexpected exception importing platform homeassistant.components.ads.light
Unexpected exception importing platform homeassistant.components.ads.sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 618, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 635, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 992, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/ads/init.py”, line 10, in
import pyads
File “/usr/local/lib/python3.10/site-packages/pyads/init.py”, line 12, in
from .ads import open_port, close_port, get_local_address, read_state,
File “/usr/local/lib/python3.10/site-packages/pyads/ads.py”, line 18, in
from .pyads_ex import (
File “/usr/local/lib/python3.10/site-packages/pyads/pyads_ex.py”, line 82, in
_adsDLL = ctypes.CDLL(adslib)
File “/usr/local/lib/python3.10/ctypes/init.py”, line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: Error relocating /usr/local/lib/python3.10/site-packages/pyads/adslib.so: unsupported relocation type 7
### Example YAML snippet
```yaml
```
### Anything in the logs that might be useful for us?
```txt
Since Version 2022.7.1 the ADS interface is not working anymore:
Logger: homeassistant.loader
Source: components/ads/init.py:10
First occurred: 14:44:51 (96 occurrences)
Last logged: 14:45:02
Unexpected exception importing component homeassistant.components.ads
Unexpected exception importing platform homeassistant.components.ads.cover
Unexpected exception importing platform homeassistant.components.ads.switch
Unexpected exception importing platform homeassistant.components.ads.light
Unexpected exception importing platform homeassistant.components.ads.sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 618, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 635, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 992, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/ads/init.py”, line 10, in
import pyads
File “/usr/local/lib/python3.10/site-packages/pyads/init.py”, line 12, in
from .ads import open_port, close_port, get_local_address, read_state,
File “/usr/local/lib/python3.10/site-packages/pyads/ads.py”, line 18, in
from .pyads_ex import (
File “/usr/local/lib/python3.10/site-packages/pyads/pyads_ex.py”, line 82, in
_adsDLL = ctypes.CDLL(adslib)
File “/usr/local/lib/python3.10/ctypes/init.py”, line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: Error relocating /usr/local/lib/python3.10/site-packages/pyads/adslib.so: unsupported relocation type 7
```
### Additional information