Regarding error message, it may be due to tcl-tls. Do not install it from repository. Build tcltls-rebuild
from source code.
(1) Please go to this post:
Howto Install Piaware 3.8.1 on 64 bit Raspbian OS / Pi4
(2) Scroll down to following item:
3.2 - Build & Install dependency tcl-tls
from source code.