More than one package provides SSL_CTX_use_certificate_chain_file(3ossl). Choose the one you are using.