You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all I wish you a wonderful new year.
I was working with the stable image version of clux/muslrust and run into some issue installing diesel_cli.
My dockerfile is as follow :
FROM clux/muslrust:stable
RUN cargo install diesel_cli --no-default-features --features postgres
Nothing fancy just run diesel_cli installation.
Unfortunately i got into the error bellow :
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcpTSPZe/symbols.o" "/tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/diesel-29cb4d48b4bc1979.diesel.87a103da-cgu.0.rcgu.o" "/tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/diesel-29cb4d48b4bc1979.diesel.87a103da-cgu.1.rcgu.o" "/tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/diesel-29cb4d48b4bc1979.diesel.87a103da-cgu.10.rcgu.o" "/tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/diesel-29cb4d48b4bc1979.diesel.87a103da-cgu.11.rcgu.o" "/tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/diesel-29cb4d48b4bc1979.diesel.87a103da-cgu.12.rcgu....
= note: /usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `sk_GENERAL_NAME_num':
fe-secure-openssl.c:(.text+0x14): undefined reference to `OPENSSL_sk_num'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `sk_GENERAL_NAME_value':
fe-secure-openssl.c:(.text+0x36): undefined reference to `OPENSSL_sk_value'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `sk_GENERAL_NAME_pop_free':
fe-secure-openssl.c:(.text+0x5b): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_read':
fe-secure-openssl.c:(.text+0x133): undefined reference to `ERR_clear_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x15c): undefined reference to `SSL_read'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x186): undefined reference to `SSL_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1a4): undefined reference to `ERR_get_error'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_read_pending':
fe-secure-openssl.c:(.text+0x44e): undefined reference to `SSL_pending'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_write':
fe-secure-openssl.c:(.text+0x4a2): undefined reference to `ERR_clear_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x4cb): undefined reference to `SSL_write'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x4f5): undefined reference to `SSL_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x513): undefined reference to `ERR_get_error'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_get_peer_certificate_hash':
fe-secure-openssl.c:(.text+0x80d): undefined reference to `X509_get_signature_nid'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x822): undefined reference to `OBJ_find_sigid_algs'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x863): undefined reference to `EVP_sha256'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x873): undefined reference to `OBJ_nid2sn'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x87b): undefined reference to `EVP_get_digestbyname'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x890): undefined reference to `OBJ_nid2sn'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x8d7): undefined reference to `X509_digest'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `openssl_verify_peer_name_matches_certificate_name':
fe-secure-openssl.c:(.text+0x9e8): undefined reference to `ASN1_STRING_get0_data'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x9f8): undefined reference to `ASN1_STRING_length'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_verify_peer_name_matches_certificate_guts':
fe-secure-openssl.c:(.text+0xa67): undefined reference to `X509_get_ext_d2i'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xb30): undefined reference to `GENERAL_NAME_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xb58): undefined reference to `X509_get_subject_name'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xb79): undefined reference to `X509_NAME_get_index_by_NID'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xba2): undefined reference to `X509_NAME_get_entry'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xbaa): undefined reference to `X509_NAME_ENTRY_get_data'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_init':
fe-secure-openssl.c:(.text+0xc2e): undefined reference to `OPENSSL_init_ssl'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `initialize_SSL':
fe-secure-openssl.c:(.text+0xd52): undefined reference to `TLS_method'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xd5a): undefined reference to `SSL_CTX_new'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xd70): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xddb): undefined reference to `SSL_CTX_set_options'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xdf9): undefined reference to `SSL_CTX_ctrl'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xed9): undefined reference to `SSL_CTX_load_verify_locations'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xee3): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xf46): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0xf5f): undefined reference to `SSL_CTX_get_cert_store'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x102f): undefined reference to `X509_STORE_load_locations'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1048): undefined reference to `X509_STORE_set_flags'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x104d): undefined reference to `ERR_clear_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x10dd): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x122e): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x125d): undefined reference to `SSL_CTX_use_certificate_chain_file'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1267): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x12ca): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x12ea): undefined reference to `SSL_new'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x132d): undefined reference to `SSL_set_ex_data'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1358): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x13b4): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x13db): undefined reference to `SSL_CTX_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x14d8): undefined reference to `ENGINE_by_id'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x14fe): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1581): undefined reference to `ENGINE_init'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x158e): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x15f8): undefined reference to `ENGINE_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x164a): undefined reference to `ENGINE_load_private_key'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1664): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x16d8): undefined reference to `ENGINE_finish'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x16ee): undefined reference to `ENGINE_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1739): undefined reference to `SSL_use_PrivateKey'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1747): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x17bb): undefined reference to `ENGINE_finish'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x17d1): undefined reference to `ENGINE_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x196d): undefined reference to `SSL_use_PrivateKey_file'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1977): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x19f4): undefined reference to `SSL_check_private_key'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x19fe): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1a87): undefined reference to `SSL_set_verify'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1aca): undefined reference to `SSL_set_options'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1ae7): undefined reference to `SSL_clear_options'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `open_client_SSL':
fe-secure-openssl.c:(.text+0x1b2c): undefined reference to `ERR_clear_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1b42): undefined reference to `SSL_connect'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1b73): undefined reference to `SSL_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1b7e): undefined reference to `ERR_get_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1d34): undefined reference to `SSL_get_peer_certificate'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1d5a): undefined reference to `ERR_get_error'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `pgtls_close':
fe-secure-openssl.c:(.text+0x1e3f): undefined reference to `SSL_shutdown'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1e52): undefined reference to `SSL_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1e8f): undefined reference to `X509_free'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1ec1): undefined reference to `ENGINE_finish'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x1ed4): undefined reference to `ENGINE_free'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `SSLerrmessage':
fe-secure-openssl.c:(.text+0x1f58): undefined reference to `ERR_reason_error_string'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `PQsslAttribute':
fe-secure-openssl.c:(.text+0x2104): undefined reference to `SSL_get_current_cipher'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2116): undefined reference to `SSL_CIPHER_get_bits'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2177): undefined reference to `SSL_get_current_cipher'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x217f): undefined reference to `SSL_CIPHER_get_name'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x21ae): undefined reference to `SSL_get_current_compression'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x21f2): undefined reference to `SSL_get_version'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `my_sock_read':
fe-secure-openssl.c:(.text+0x2239): undefined reference to `BIO_get_data'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2262): undefined reference to `BIO_clear_flags'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x228a): undefined reference to `BIO_set_flags'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `my_sock_write':
fe-secure-openssl.c:(.text+0x22c0): undefined reference to `BIO_get_data'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x22e9): undefined reference to `BIO_clear_flags'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2311): undefined reference to `BIO_set_flags'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `my_BIO_s_socket':
fe-secure-openssl.c:(.text+0x233e): undefined reference to `BIO_s_socket'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2347): undefined reference to `BIO_get_new_index'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x236e): undefined reference to `BIO_meth_new'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x23a4): undefined reference to `BIO_meth_set_write'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x23c5): undefined reference to `BIO_meth_set_read'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x23d9): undefined reference to `BIO_meth_get_gets'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x23ee): undefined reference to `BIO_meth_set_gets'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2402): undefined reference to `BIO_meth_get_puts'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2417): undefined reference to `BIO_meth_set_puts'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x242b): undefined reference to `BIO_meth_get_ctrl'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2440): undefined reference to `BIO_meth_set_ctrl'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2450): undefined reference to `BIO_meth_get_create'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2465): undefined reference to `BIO_meth_set_create'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2475): undefined reference to `BIO_meth_get_destroy'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x248a): undefined reference to `BIO_meth_set_destroy'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x249a): undefined reference to `BIO_meth_get_callback_ctrl'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x24af): undefined reference to `BIO_meth_set_callback_ctrl'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x24c2): undefined reference to `BIO_meth_free'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(fe-secure-openssl.o): in function `my_SSL_set_fd':
fe-secure-openssl.c:(.text+0x252b): undefined reference to `ERR_put_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x253c): undefined reference to `BIO_new'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x256b): undefined reference to `ERR_put_error'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x2580): undefined reference to `BIO_set_data'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x259e): undefined reference to `SSL_set_bio'
/usr/bin/ld: fe-secure-openssl.c:(.text+0x25b9): undefined reference to `BIO_int_ctrl'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(pg_strong_random.o): in function `pg_strong_random':
pg_strong_random.c:(.text+0x1e): undefined reference to `RAND_status'
/usr/bin/ld: pg_strong_random.c:(.text+0x28): undefined reference to `RAND_poll'
/usr/bin/ld: pg_strong_random.c:(.text+0x50): undefined reference to `RAND_bytes'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha256_init':
sha2_openssl.c:(.text+0x18): undefined reference to `SHA256_Init'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha256_update':
sha2_openssl.c:(.text+0x4a): undefined reference to `SHA256_Update'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha256_final':
sha2_openssl.c:(.text+0x74): undefined reference to `SHA256_Final'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha512_init':
sha2_openssl.c:(.text+0x93): undefined reference to `SHA512_Init'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha512_update':
sha2_openssl.c:(.text+0xc5): undefined reference to `SHA512_Update'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha512_final':
sha2_openssl.c:(.text+0xef): undefined reference to `SHA512_Final'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha384_init':
sha2_openssl.c:(.text+0x10e): undefined reference to `SHA384_Init'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha384_update':
sha2_openssl.c:(.text+0x140): undefined reference to `SHA384_Update'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha384_final':
sha2_openssl.c:(.text+0x16a): undefined reference to `SHA384_Final'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha224_init':
sha2_openssl.c:(.text+0x189): undefined reference to `SHA224_Init'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha224_update':
sha2_openssl.c:(.text+0x1bb): undefined reference to `SHA224_Update'
/usr/bin/ld: /tmp/cargo-installY6dXhB/x86_64-unknown-linux-musl/release/deps/libpq_sys-1bbbb632abf85877.rlib(sha2_openssl.o): in function `pg_sha224_final':
sha2_openssl.c:(.text+0x1e5): undefined reference to `SHA224_Final'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `diesel_cli` due to previous error
error: failed to compile `diesel_cli v2.0.1`, intermediate artifacts can be found at `/tmp/cargo-installY6dXhB`
error: build error: error building at STEP "RUN cargo install diesel_cli --no-default-features --features postgres": error while running runtime: exit status 101
Any idea on that issue ? perhaps am i missing some extra libraries to be installed in the image ? :)
The text was updated successfully, but these errors were encountered:
It's possible that libpq in our image is simply to old at this point :(
It broke upstream a while ago so we have just run on a pinned libpq and maybe something is assuming a newer version of ssl than what is bundled in our PQ.
See #81 . Ultimately there's little desire upstream to support static compilation in pq-sys, so this has been a best-effort lately.
Hi all 👋
first of all I wish you a wonderful new year.
I was working with the stable image version of clux/muslrust and run into some issue installing diesel_cli.
My dockerfile is as follow :
Nothing fancy just run diesel_cli installation.
Unfortunately i got into the error bellow :
Any idea on that issue ? perhaps am i missing some extra libraries to be installed in the image ? :)
The text was updated successfully, but these errors were encountered: