I have this problem as well.
You can work around it by adding the following line to /etc/default/collectd
LD_PRELOAD=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so
this will force it to load the python shared library.
I have this problem as well.
You can work around it by adding the following line to /etc/default/ collectd
LD_PRELOAD= /usr/lib/ python3. 8/config- 3.8-x86_ 64-linux- gnu/libpython3. 8.so
this will force it to load the python shared library.