https://bugs.openldap.org/show_bug.cgi?id=10176
--- Comment #6 from Howard Chu hyc@openldap.org --- I submitted https://github.com/openssl/openssl/issues/23575 to their bug tracker. I note they've already had portability issues with their use of atexit (logged as their #23135) and they subsequently added a configure option to disable use of atexit in their builds, but on Linux atexit is still used by default. None of this atexit usage conforms to the POSIX standard so they brought on this portability mess upon themselves.