Comments (3)
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.
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.
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)
- Whether aarch64 is supported? HOT 1
- Missing symbos to debug a `malloc` crash in glibc-compat HOT 2
- trying to overwrite etc/nsswitch.conf owned by alpine-baselayout-data-3.2.0-r23. HOT 4
- make test failed about [email protected] on ubuntu_aarch64 HOT 2
- error /lib/ld-linux-x86-64.so.2 HOT 1
- /usr/lib/libstdc++.so.6: no version information available HOT 2
- Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37 HOT 6
- did this glibc support arm? HOT 2
- v2.35-r1 symbols not found HOT 2
- Unexpected "(" in /usr/glibc-compat/sbin/ldconfig
- SSL certificate from https://sgerrand.com/ has expired. HOT 11
- Error character map file UTF-8' not found: No such file or directory HOT 1
- ....symbol not found HOT 4
- Is alpine-pkg-glibc supports for latest alpine release 3.18 HOT 13
- protoc: stdout: . stderr: Error loading shared library ld-linux-x86-64.so.2: No such file or directory HOT 4
- 2.35-r1 release doesnt work with alpine image HOT 1
- ERROR: gcompat-1.1.0-r4: trying to overwrite lib/ld-linux-x86-64.so.2 owned by glibc-2.35-r1. HOT 10
- Getting segmentation fault after python upgrade HOT 4
- Release 2.38 HOT 20
- Cannot connect to https://alpine-pkgs.sgerrand.com/ via CloudFlare HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-pkg-glibc.