GithubHelp home page GithubHelp logo

Comments (3)

nigelgbanks avatar nigelgbanks commented on June 11, 2024

When running the mysql_install_db command I also get this output which might be helpful in debugging the issue.

Error loading shared library libaio.so.1: Permission denied (needed by /usr/bin/mysqld)
Error loading shared library libz.so.1: Permission denied (needed by /usr/bin/mysqld)
Error loading shared library libssl.so.1.0.0: Permission denied (needed by /usr/bin/mysqld)
Error loading shared library libcrypto.so.1.0.0: Permission denied (needed by /usr/bin/mysqld)
Error loading shared library libstdc++.so.6: Permission denied (needed by /usr/bin/mysqld)

Along with a large number of errors about particular symbols missing.

Error relocating /usr/bin/mysqld: __cxa_pure_virtual: symbol not found
Error relocating /usr/bin/mysqld: EVP_DigestUpdate: symbol not found
Error relocating /usr/bin/mysqld: SSL_pending: symbol not found
Error relocating /usr/bin/mysqld: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcS5_S5_: symbol not found
Error relocating /usr/bin/mysqld: EVP_CIPHER_CTX_iv_length: symbol not found
Error relocating /usr/bin/mysqld: SSL_get_version: symbol not found
Error relocating /usr/bin/mysqld: CRYPTO_set_dynlock_lock_callback: symbol not found
Error relocating /usr/bin/mysqld: RAND_SSLeay: symbol not found
Error relocating /usr/bin/mysqld: SSL_shutdown: symbol not found
Error relocating /usr/bin/mysqld: BIO_s_mem: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_set_verify: symbol not found
Error relocating /usr/bin/mysqld: X509_get_issuer_name: symbol not found
Error relocating /usr/bin/mysqld: OPENSSL_add_all_algorithms_noconf: symbol not found
Error relocating /usr/bin/mysqld: SSL_get_current_cipher: symbol not found
Error relocating /usr/bin/mysqld: _ZNSt8__detail15_List_node_base9_M_unhookEv: symbol not found
Error relocating /usr/bin/mysqld: SSLeay_version: symbol not found
Error relocating /usr/bin/mysqld: _ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv: symbol not found
Error relocating /usr/bin/mysqld: CRYPTO_cleanup_all_ex_data: symbol not found
Error relocating /usr/bin/mysqld: _ZNSo9_M_insertIyEERSoT_: symbol not found
Error relocating /usr/bin/mysqld: BIO_read: symbol not found
Error relocating /usr/bin/mysqld: X509_STORE_set_flags: symbol not found
Error relocating /usr/bin/mysqld: DH_new: symbol not found
Error relocating /usr/bin/mysqld: SSL_get_session: symbol not found
Error relocating /usr/bin/mysqld: EVP_CipherInit_ex: symbol not found
Error relocating /usr/bin/mysqld: EVP_aes_192_gcm: symbol not found
Error relocating /usr/bin/mysqld: _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_: symbol not found
Error relocating /usr/bin/mysqld: inflateReset: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_new: symbol not found
Error relocating /usr/bin/mysqld: deflateReset: symbol not found
Error relocating /usr/bin/mysqld: SSL_get_cipher_list: symbol not found
Error relocating /usr/bin/mysqld: EVP_CipherUpdate: symbol not found
Error relocating /usr/bin/mysqld: SSL_SESSION_set_timeout: symbol not found
Error relocating /usr/bin/mysqld: EVP_cleanup: symbol not found
Error relocating /usr/bin/mysqld: SHA1_Update: symbol not found
Error relocating /usr/bin/mysqld: BIO_new: symbol not found
Error relocating /usr/bin/mysqld: DES_ede3_cbc_encrypt: symbol not found
Error relocating /usr/bin/mysqld: SHA256: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_set_default_verify_paths: symbol not found
Error relocating /usr/bin/mysqld: compressBound: symbol not found
Error relocating /usr/bin/mysqld: EVP_MD_CTX_init: symbol not found
Error relocating /usr/bin/mysqld: _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base: symbol not found
Error relocating /usr/bin/mysqld: SSL_set_quiet_shutdown: symbol not found
Error relocating /usr/bin/mysqld: _Znam: symbol not found
Error relocating /usr/bin/mysqld: SHA1_Final: symbol not found
Error relocating /usr/bin/mysqld: _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base: symbol not found
Error relocating /usr/bin/mysqld: _ZnamRKSt9nothrow_t: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_use_certificate_chain_file: symbol not found
Error relocating /usr/bin/mysqld: EVP_aes_128_gcm: symbol not found
Error relocating /usr/bin/mysqld: SSL_load_error_strings: symbol not found
Error relocating /usr/bin/mysqld: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode: symbol not found
Error relocating /usr/bin/mysqld: EVP_CIPHER_CTX_cleanup: symbol not found
Error relocating /usr/bin/mysqld: SSL_get_certificate: symbol not found
Error relocating /usr/bin/mysqld: SSL_free: symbol not found
Error relocating /usr/bin/mysqld: ASN1_TIME_print: symbol not found
Error relocating /usr/bin/mysqld: EVP_aes_192_cbc: symbol not found
Error relocating /usr/bin/mysqld: SSL_write: symbol not found
Error relocating /usr/bin/mysqld: SSL_set_fd: symbol not found
Error relocating /usr/bin/mysqld: CRYPTO_set_dynlock_create_callback: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_use_PrivateKey_file: symbol not found
Error relocating /usr/bin/mysqld: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev: symbol not found
Error relocating /usr/bin/mysqld: EVP_BytesToKey: symbol not found
Error relocating /usr/bin/mysqld: SSL_CTX_ctrl: symbol not found
Error relocating /usr/bin/mysqld: _ZSt19__throw_logic_errorPKc: symbol not found
Error relocating /usr/bin/mysqld: EVP_aes_128_ctr: symbol not found
Error relocating /usr/bin/mysqld: ERR_get_error: symbol not found
Error relocating /usr/bin/mysqld: _ZNSo9_M_insertImEERSoT_: symbol not found
Error relocating /usr/bin/mysqld: adler32: symbol not found
Error relocating /usr/bin/mysqld: EVP_aes_128_ecb: symbol not found
Error relocating /usr/bin/mysqld: SSL_new: symbol not found
Error relocating /usr/bin/mysqld: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc: symbol not found
Error relocating /usr/bin/mysqld: SHA512: symbol not found
Error relocating /usr/bin/mysqld: __cxa_pure_virtual: symbol not found
Error relocating /usr/bin/mysqld: __cxa_pure_virtual: symbol not foundwith the --force option

from alpine-pkg-glibc.

nigelgbanks avatar nigelgbanks commented on June 11, 2024

Upon further investigation this is a problem with how I've set Docker to copy files into /, and not an issue with glibc.

from alpine-pkg-glibc.

nigelgbanks avatar nigelgbanks commented on June 11, 2024

For those who may find this later, basically the directory I had locally for /etc had the wrong permissions, when the Docker image was built it those permissions of course got copied over. The strange thing is doing ls -la /etc or stat -c '%a' /etc from inside the container looks as though they had the correct permissions even though that was not the case.

from alpine-pkg-glibc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.