I was running a container from linuxserver.io, which is based on Alpine linux.
While this container ran fine for a while, it seems after a while I’m getting the following errors in the log:
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_cipher_list: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_default_passwd_cb_userdata: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_free: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_sess_set_new_cb: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_current_cipher: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_privatekey: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_add_client_CA: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_ciphersuites: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_default_passwd_cb: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_write: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate_file: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get0_alpn_selected: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_set_fd: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_shutdown: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_ctrl: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CIPHER_get_name: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_new: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_read: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_load_verify_locations: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_PrivateKey: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_get_cert_store: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_set_session: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_post_handshake_auth: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_certificate_chain_file: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_options: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_alert_desc_string_long: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_connect: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_keylog_callback: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_next_proto_select_cb: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: BIO_f_ssl: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_use_PrivateKey_file: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_free: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_peer_cert_chain: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_check_private_key: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_peer_certificate: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_verify_result: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: OPENSSL_init_ssl: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_shutdown: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_set_bio: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_pending: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_alpn_protos: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_certificate: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_msg_callback: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_ctrl: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_srp_password: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_new: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_set_connect_state: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_ex_data: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_error: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_get_version: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_set_ex_data: symbol not found
transmission | Error relocating /usr/lib/libcurl.so.4: SSL_CTX_set_verify: symbol not found
transmission | Error relocating /usr/bin/transmission-daemon: SSL_CTX_get_cert_store: symbol not found
It seems this is because there are incompatibilities between the minimal (musl) system C library (libc.so
) that ships with Alpine Linux and the bigger (GNU) libc that ships with more typical Linux distributions. Those error messages hint that you’re tripping over something like that. (text copied from the post linked below)
More information in this thread: Error relocating – symbol not found – building docker-fpm-alpine image – Stack Overflow
In my case I was indeed running Ubuntu Linux as host for the Docker images.
I’ll update this post when I found the exact solution. For now I’m using another image provider for this specific goal.