for a self-contained test environment, I have downloaded the statically linked dcmtk-3.6.6 pre-compiled executables with openssl support from the download page (dcmtk-3.6.6-linux-x86_64-static-tls.tar.bz2).
I first "installed" on an Ubuntu-16 virtual machine, i.e. I unpacked the binaries to a test-tools folder. I should mention that we are using this environment for building dcmtk and dcmtk-based software without any issues, including TLS support.
Running a first test - storagescp-tls vs. echoscu-tls:
- storagescp-tls starts and listens on the given port
echoscu-tls starts and opens TCP connection to the SCP
Upon the SCU connecting, the SCP terminates with the following message:
Well, Ubuntu16.04 LTS is quite outdated, so it was about time for an update anyway. Updating from v16 to v20 requires an update to v18 as an intermediate step. After update to Ubuntu-18, the problem got worse: The error message written above occurred upon starting echoscu-tls. I used telnet to verify what happens if I connect to the SCP port -> same error as mentioned above.storescp-tls: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
An update to Ubuntu20.04 LTS did not change this behavior.
Any ideas?
Funny side note: The only hint on the internet on this error was a page in reddit which recommended the use of a packet manager called "pacman" to fix the glibc. I installed pacman and started it as recommended. Guess what happened: A clone of the 70s arcade game started