Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compilling #10902

Closed
webhtb opened this issue Mar 21, 2023 · 11 comments
Closed

Error compilling #10902

webhtb opened this issue Mar 21, 2023 · 11 comments

Comments

@webhtb
Copy link

webhtb commented Mar 21, 2023

Description

I tried with every version of openssl and libressl, the same errors!

./configure '--prefix=/opt/php8' '--with-pcre-jit' '--with-curl' '--enable-fpm' '--with-fpm-systemd' '--with-fpm-acl' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-jpeg' '--enable-gd' '--with-webp' '--with-mysqli' '--with-pear=/usr/share/pear' '--enable-opcache-jit' '--enable-mbstring' '--with-zlib' '--with-openssl=/opt/libressl371' '--enable-calendar' '--with-zip' '--with-xsl' '--with-imap-ssl' '--enable-intl' '--with-xpm' '--with-avif' '--enable-exif' '--enable-soap' '--enable-sockets'

/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher': /opt/php-8.2.4/ext/openssl/openssl.c:7048: undefined reference to EVP_CIPHER_get0_name'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_get_cipher_methods': /opt/php-8.2.4/ext/openssl/openssl.c:7067: undefined reference to EVP_CIPHER_do_all_provided'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_load_cipher_mode': /opt/php-8.2.4/ext/openssl/openssl.c:7181: undefined reference to EVP_CIPHER_get_mode'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7201: undefined reference to EVP_CIPHER_get_nid' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_pkey_get_details':
/opt/php-8.2.4/ext/openssl/openssl.c:4756: undefined reference to EVP_PKEY_get_bits' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4763: undefined reference to EVP_PKEY_get_base_id'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param': /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_get_utf8_param':
/opt/php-8.2.4/ext/openssl/openssl.c:4722: undefined reference to EVP_PKEY_get_utf8_string_param' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param':
/opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_dh_compute_key': /opt/php-8.2.4/ext/openssl/openssl.c:5051: undefined reference to EVP_PKEY_get_base_id'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_dh_compute_key': /opt/php-8.2.4/ext/openssl/openssl.c:5005: undefined reference to EVP_PKEY_set1_encoded_public_key'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_digest': /opt/php-8.2.4/ext/openssl/openssl.c:7129: undefined reference to EVP_MD_get_size'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_init': /opt/php-8.2.4/ext/openssl/openssl.c:7294: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7323: undefined reference to EVP_CIPHER_get_key_length' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_encrypt':
/opt/php-8.2.4/ext/openssl/openssl.c:6483: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_decrypt':
/opt/php-8.2.4/ext/openssl/openssl.c:6532: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_encrypt':
/opt/php-8.2.4/ext/openssl/openssl.c:6582: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_decrypt':
/opt/php-8.2.4/ext/openssl/openssl.c:6631: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_sign':
/opt/php-8.2.4/ext/openssl/openssl.c:6726: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_seal':
/opt/php-8.2.4/ext/openssl/openssl.c:6839: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6862: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6875: undefined reference to EVP_CIPHER_CTX_get_block_size' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_open':
/opt/php-8.2.4/ext/openssl/openssl.c:6968: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld/usr/bin/ld: : ext/openssl/openssl.o: in function php_openssl_cipher_update':
/opt/php-8.2.4/ext/openssl/openssl.c:7374: undefined reference to EVP_CIPHER_get_block_size' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_generate_private_key':
/opt/php-8.2.4/ext/openssl/openssl.c:3721: undefined reference to EVP_PKEY_CTX_set_ec_paramgen_curve_nid' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3722: undefined reference to EVP_PKEY_CTX_set_ec_param_enc'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3708: undefined reference to EVP_PKEY_CTX_set_dh_paramgen_prime_len' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3700: undefined reference to EVP_PKEY_CTX_set_dsa_paramgen_bits'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3749: undefined reference to EVP_PKEY_CTX_set_rsa_keygen_bits' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec':
/opt/php-8.2.4/ext/openssl/openssl.c:4337: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4413: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4414: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dh':
/opt/php-8.2.4/ext/openssl/openssl.c:4135: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4149: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4150: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4152: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4155: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4164: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4167: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4172: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4173: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4195: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4196: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3830: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3845: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3846: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3848: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3851: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3854: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:3857: more undefined references to OSSL_PARAM_BLD_push_BN' follow /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3866: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3871: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3872: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3879: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3880: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3962: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4015: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4016: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3976: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3977: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3978: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3981: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3983: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3987: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3992: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3993: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec':
/opt/php-8.2.4/ext/openssl/openssl.c:4357: undefined reference to OSSL_PARAM_BLD_push_utf8_string' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4361: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4382: undefined reference to OSSL_PARAM_BLD_push_octet_string' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4385: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4390: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4391: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length': /opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length': /opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher_or_alias': /opt/php-8.2.4/ext/openssl/openssl.c:7043: undefined reference to EVP_CIPHER_names_do_all'
/usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_set_server_dh_param': /opt/php-8.2.4/ext/openssl/xp_ssl.c:1240: undefined reference to SSL_CTX_set0_tmp_dh_pkey'
/usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_enable_crypto': /opt/php-8.2.4/ext/openssl/xp_ssl.c:1964: undefined reference to SSL_get1_peer_certificate'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/xp_ssl.c:1948: undefined reference to SSL_get1_peer_certificate' ext/openssl/openssl.o: in function php_openssl_add_cipher':
/opt/php-8.2.4/ext/openssl/openssl.c:7048: undefined reference to EVP_CIPHER_get0_name' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_get_cipher_methods':
/opt/php-8.2.4/ext/openssl/openssl.c:7067: undefined reference to EVP_CIPHER_do_all_provided' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_load_cipher_mode':
/opt/php-8.2.4/ext/openssl/openssl.c:7181: undefined reference to EVP_CIPHER_get_mode' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7201: undefined reference to EVP_CIPHER_get_nid'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length': /opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length': /opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_pkey_get_details': /opt/php-8.2.4/ext/openssl/openssl.c:4756: undefined reference to EVP_PKEY_get_bits'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4763: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param':
/opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_get_utf8_param': /opt/php-8.2.4/ext/openssl/openssl.c:4722: undefined reference to EVP_PKEY_get_utf8_string_param'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param': /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5051: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5005: undefined reference to EVP_PKEY_set1_encoded_public_key' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_digest':
/opt/php-8.2.4/ext/openssl/openssl.c:7129: undefined reference to EVP_MD_get_size' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_init':
/opt/php-8.2.4/ext/openssl/openssl.c:7294: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7323: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6483: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6532: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6582: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6631: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_sign': /opt/php-8.2.4/ext/openssl/openssl.c:6726: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_seal': /opt/php-8.2.4/ext/openssl/openssl.c:6839: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6862: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6875: undefined reference to EVP_CIPHER_CTX_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_open': /opt/php-8.2.4/ext/openssl/openssl.c:6968: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_update': /opt/php-8.2.4/ext/openssl/openssl.c:7374: undefined reference to EVP_CIPHER_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_generate_private_key': /opt/php-8.2.4/ext/openssl/openssl.c:3721: undefined reference to EVP_PKEY_CTX_set_ec_paramgen_curve_nid'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3722: undefined reference to EVP_PKEY_CTX_set_ec_param_enc' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3708: undefined reference to EVP_PKEY_CTX_set_dh_paramgen_prime_len'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3700: undefined reference to EVP_PKEY_CTX_set_dsa_paramgen_bits' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3749: undefined reference to EVP_PKEY_CTX_set_rsa_keygen_bits'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec': /opt/php-8.2.4/ext/openssl/openssl.c:4337: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4413: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4414: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dh': /opt/php-8.2.4/ext/openssl/openssl.c:4135: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4149: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4150: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4152: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4155: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4164: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4167: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4172: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4173: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4195: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4196: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa': /opt/php-8.2.4/ext/openssl/openssl.c:3830: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3845: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3846: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3848: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3851: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3854: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:3857: more undefined references to OSSL_PARAM_BLD_push_BN' follow
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa': /opt/php-8.2.4/ext/openssl/openssl.c:3866: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3871: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3872: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3879: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3880: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dsa': /opt/php-8.2.4/ext/openssl/openssl.c:3962: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4015: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4016: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3976: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3977: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3978: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3981: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3983: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3987: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3992: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3993: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec': /opt/php-8.2.4/ext/openssl/openssl.c:4357: undefined reference to OSSL_PARAM_BLD_push_utf8_string'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4361: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4382: undefined reference to OSSL_PARAM_BLD_push_octet_string'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4385: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4390: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4391: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher_or_alias':
/opt/php-8.2.4/ext/openssl/openssl.c:7043: undefined reference to EVP_CIPHER_names_do_all' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher':
/opt/php-8.2.4/ext/openssl/openssl.c:7048: undefined reference to EVP_CIPHER_get0_name' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_get_cipher_methods':
/opt/php-8.2.4/ext/openssl/openssl.c:7067: undefined reference to EVP_CIPHER_do_all_provided' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_load_cipher_mode':
/opt/php-8.2.4/ext/openssl/openssl.c:7181: undefined reference to EVP_CIPHER_get_mode' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7201: undefined reference to EVP_CIPHER_get_nid'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length': /opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length': /opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_pkey_get_details': /opt/php-8.2.4/ext/openssl/openssl.c:4756: undefined reference to EVP_PKEY_get_bits'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4763: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param':
/opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_get_utf8_param': /opt/php-8.2.4/ext/openssl/openssl.c:4722: undefined reference to EVP_PKEY_get_utf8_string_param'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param': /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5051: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5005: undefined reference to EVP_PKEY_set1_encoded_public_key' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_digest':
/opt/php-8.2.4/ext/openssl/openssl.c:7129: undefined reference to EVP_MD_get_size' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_init':
/opt/php-8.2.4/ext/openssl/openssl.c:7294: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7323: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6483: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6532: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6582: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6631: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_sign': /opt/php-8.2.4/ext/openssl/openssl.c:6726: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_seal': /opt/php-8.2.4/ext/openssl/openssl.c:6839: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6862: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6875: undefined reference to EVP_CIPHER_CTX_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_open': /opt/php-8.2.4/ext/openssl/openssl.c:6968: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_update': /opt/php-8.2.4/ext/openssl/openssl.c:7374: undefined reference to EVP_CIPHER_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_generate_private_key': /opt/php-8.2.4/ext/openssl/openssl.c:3721: undefined reference to EVP_PKEY_CTX_set_ec_paramgen_curve_nid'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3722: undefined reference to EVP_PKEY_CTX_set_ec_param_enc' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3708: undefined reference to EVP_PKEY_CTX_set_dh_paramgen_prime_len'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3700: undefined reference to EVP_PKEY_CTX_set_dsa_paramgen_bitsext/openssl/xp_ssl.o' : in function /usr/bin/ld: php_openssl_set_server_dh_param':
/opt/php-8.2.4/ext/openssl/xp_ssl.c:/opt/php-8.2.4/ext/openssl/openssl.c:12403749: undefined reference to : undefined reference to SSL_CTX_set0_tmp_dh_pkeyEVP_PKEY_CTX_set_rsa_keygen_bits'
'
/usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_enable_crypto': /usr/bin/ld/opt/php-8.2.4/ext/openssl/xp_ssl.c:: 1964: undefined reference to SSL_get1_peer_certificate'
ext/openssl/openssl.o: in function php_openssl_pkey_init_ec': /opt/php-8.2.4/ext/openssl/openssl.c:4337: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld/usr/bin/ld: : /opt/php-8.2.4/ext/openssl/xp_ssl.c:1948/opt/php-8.2.4/ext/openssl/openssl.c:: undefined reference to 4413SSL_get1_peer_certificate: undefined reference to '
OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4414: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dh':
/opt/php-8.2.4/ext/openssl/openssl.c:4135: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4149: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4150: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4152: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4155: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4164: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4167: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4172: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4173: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4195: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4196: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3830: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3845: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3846: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3848: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3851: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3854: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:3857: more undefined references to OSSL_PARAM_BLD_push_BN' follow /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3866: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3871: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3872: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3879: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3880: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dsa':
/opt/php-8.2.4/ext/openssl/openssl.c:3962: undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4015: undefined reference to OSSL_PARAM_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4016: undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3976: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3977: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3978: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3981: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3983: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3987: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3992: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3993: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec':
/opt/php-8.2.4/ext/openssl/openssl.c:4357: undefined reference to OSSL_PARAM_BLD_push_utf8_string' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4361: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4382: undefined reference to OSSL_PARAM_BLD_push_octet_string' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4385: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4390: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4391: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length': /opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length': /opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher_or_alias': /opt/php-8.2.4/ext/openssl/openssl.c:7043: undefined reference to EVP_CIPHER_names_do_all'
/usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_set_server_dh_param': /opt/php-8.2.4/ext/openssl/xp_ssl.c:1240: undefined reference to SSL_CTX_set0_tmp_dh_pkey'
/usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_enable_crypto': /opt/php-8.2.4/ext/openssl/xp_ssl.c:1964: undefined reference to SSL_get1_peer_certificate'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/xp_ssl.c:1948: undefined reference to SSL_get1_peer_certificate' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher':
/opt/php-8.2.4/ext/openssl/openssl.c:7048: undefined reference to EVP_CIPHER_get0_name' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_get_cipher_methods':
/opt/php-8.2.4/ext/openssl/openssl.c:7067: undefined reference to EVP_CIPHER_do_all_provided' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_load_cipher_mode':
/opt/php-8.2.4/ext/openssl/openssl.c:7181: undefined reference to EVP_CIPHER_get_mode' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7201: undefined reference to EVP_CIPHER_get_nid'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length': /opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length': /opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_pkey_get_details': /opt/php-8.2.4/ext/openssl/openssl.c:4756: undefined reference to EVP_PKEY_get_bits'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4763: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param':
/opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_get_utf8_param': /opt/php-8.2.4/ext/openssl/openssl.c:4722: undefined reference to EVP_PKEY_get_utf8_string_param'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_copy_bn_param': /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4711: undefined reference to EVP_PKEY_get_bn_param'
/usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:4711: more undefined references to EVP_PKEY_get_bn_param' follow /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5051: undefined reference to EVP_PKEY_get_base_id' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_dh_compute_key':
/opt/php-8.2.4/ext/openssl/openssl.c:5005: undefined reference to EVP_PKEY_set1_encoded_public_key' /usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_digest':
/opt/php-8.2.4/ext/openssl/openssl.c:7129: undefined reference to EVP_MD_get_size' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_init':
/opt/php-8.2.4/ext/openssl/openssl.c:7294: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:7323: undefined reference to EVP_CIPHER_get_key_length'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6483: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_private_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6532: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_encrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6582: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_public_decrypt': /opt/php-8.2.4/ext/openssl/openssl.c:6631: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_sign': /opt/php-8.2.4/ext/openssl/openssl.c:6726: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_seal': /opt/php-8.2.4/ext/openssl/openssl.c:6839: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6862: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:6875: undefined reference to EVP_CIPHER_CTX_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function zif_openssl_open': /opt/php-8.2.4/ext/openssl/openssl.c:6968: undefined reference to EVP_CIPHER_get_iv_length'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_update': /opt/php-8.2.4/ext/openssl/openssl.c:7374: undefined reference to EVP_CIPHER_get_block_size'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_generate_private_key': /opt/php-8.2.4/ext/openssl/openssl.c:3721: undefined reference to EVP_PKEY_CTX_set_ec_paramgen_curve_nid'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3722: undefined reference to EVP_PKEY_CTX_set_ec_param_enc' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3708: undefined reference to EVP_PKEY_CTX_set_dh_paramgen_prime_len'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3700: undefined reference to EVP_PKEY_CTX_set_dsa_paramgen_bits' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3749: undefined reference to EVP_PKEY_CTX_set_rsa_keygen_bits'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec': /opt/php-8.2.4/ext/openssl/openssl.c:4337: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4413: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4414: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dh': /opt/php-8.2.4/ext/openssl/openssl.c:4135: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4149: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4150: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4152: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4155: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4164: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4167: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4172: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4173: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4195: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4196: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa': /opt/php-8.2.4/ext/openssl/openssl.c:3830: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3845: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3846: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3848: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3851: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3854: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: ext/openssl/openssl.o:/opt/php-8.2.4/ext/openssl/openssl.c:3857: more undefined references to OSSL_PARAM_BLD_push_BN' follow
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_rsa': /opt/php-8.2.4/ext/openssl/openssl.c:3866: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3871: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3872: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3879: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3880: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_dsa': /opt/php-8.2.4/ext/openssl/openssl.c:3962: undefined reference to OSSL_PARAM_BLD_new'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4015: undefined reference to OSSL_PARAM_free' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4016: undefined reference to OSSL_PARAM_BLD_free'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3976: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3977: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3978: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3981: undefined reference to OSSL_PARAM_BLD_push_BN'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3983: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3987: undefined reference to OSSL_PARAM_BLD_to_param'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3992: undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:3993: undefined reference to EVP_PKEY_fromdata'
/usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_pkey_init_ec': /opt/php-8.2.4/ext/openssl/openssl.c:4357: undefined reference to OSSL_PARAM_BLD_push_utf8_string'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4361: undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4382: undefined reference to OSSL_PARAM_BLD_push_octet_string'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4385: undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4390: undefined reference to EVP_PKEY_fromdata_init'
/usr/bin/ld: /opt/php-8.2.4/ext/openssl/openssl.c:4391: undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_iv_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7632: undefined reference to EVP_CIPHER_get_iv_length' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_cipher_key_length':
/opt/php-8.2.4/ext/openssl/openssl.c:7661: undefined reference to EVP_CIPHER_get_key_length' /usr/bin/ld: ext/openssl/openssl.o: in function php_openssl_add_cipher_or_alias':
/opt/php-8.2.4/ext/openssl/openssl.c:7043: undefined reference to EVP_CIPHER_names_do_all' /usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_set_server_dh_param':
/opt/php-8.2.4/ext/openssl/xp_ssl.c:1240: undefined reference to SSL_CTX_set0_tmp_dh_pkey' /usr/bin/ld: ext/openssl/xp_ssl.o: in function php_openssl_enable_crypto':
/opt/php-8.2.4/ext/openssl/xp_ssl.c:1964: undefined reference to SSL_get1_peer_certificate' /usr/bin/ld: /opt/php-8.2.4/ext/openssl/xp_ssl.c:1948: undefined reference to SSL_get1_peer_certificate'
/usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_caching_sha2_public_encrypt': /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1006: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1025: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_sha256_public_encrypt':
/opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:705: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:725: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_caching_sha2_public_encrypt': /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1006: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1025: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_sha256_public_encrypt':
/opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:705: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:725: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_caching_sha2_public_encrypt': /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1006: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1025: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_sha256_public_encrypt':
/opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:705: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:725: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
/usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_caching_sha2_public_encrypt': /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1006: undefined reference to EVP_PKEY_get_size'
/usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:1025: undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: ext/mysqlnd/mysqlnd_auth.o: in function mysqlnd_sha256_public_encrypt':
/opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:705: undefined reference to EVP_PKEY_get_size' /usr/bin/ld: /opt/php-8.2.4/ext/mysqlnd/mysqlnd_auth.c:725: undefined reference to EVP_PKEY_CTX_set_rsa_padding'
collect2: error: ld returned 1 exit status
make: *** [Makefile:376: sapi/cgi/php-cgi] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [Makefile:317: sapi/fpm/php-fpm] Error 1
collect2: error: ld returned 1 exit status
make: *** [Makefile:305: sapi/cli/php] Error 1
collect2: error: ld returned 1 exit status
make: *** [Makefile:350: sapi/phpdbg/phpdbg] Error 1
[root@ns3145235 php-8.2.4]#

PHP Version

PHP 8.2.xxx

Operating System

Fedora 33

@Girgias
Copy link
Member

Girgias commented Mar 21, 2023

Do you have the -devel packages installed?

@iluuu1994
Copy link
Member

iluuu1994 commented Mar 21, 2023

EVP_CIPHER_get0_name is part of a OpenSSL 3 and is only used in php_openssl_add_cipher which has a #if PHP_OPENSSL_API_VERSION >= 0x30000 guard. However, the linker error suggests this function doesn't exist in the library you're trying to link. Are you sure the headers and lib versions match in /opt/libressl371?

@iluuu1994
Copy link
Member

Oh, this is LibreSSL. I'm not sure if we officially support that. @bukka? According to a quick Google search LibreSSL is only OpenSSL 1 compatible.

@webhtb
Copy link
Author

webhtb commented Mar 21, 2023

i try with OpenSSL-3.1.0, and with system OpenSSL 1.1.1l FIPS , same problem.
php 8.1.9 compiled fine, for any ssl version I tried, I specified the source with --with-openssl=/.....

https://www.medasig.md/test.php the phpinfo for latest compiled 8.1.9

@iluuu1994
Copy link
Member

iluuu1994 commented Mar 21, 2023

@webhtb Well, can you check what OPENSSL_VERSION_NUMBER (or rather OPENSSL_VERSION_MAJOR) says in your headers?

@webhtb
Copy link
Author

webhtb commented Mar 21, 2023

@webhtb Well, can you check what OPENSSL_VERSION_NUMBER (or rather OPENSSL_VERSION_MAJOR) says in your headers?

Where or how can i see that ? At ./configure i see this:

checking for OpenSSL support... yes
checking for openssl >= 1.0.2... yes

@bukka
Copy link
Member

bukka commented Mar 21, 2023

LibreSSL is still supported. This looks like some mix up in settings. What you should be really using is pkgconfig. Just change it's path to your custom library build lib/pkgconfig or lib64/pkgconfig dir.

For example if you OpenSSL 1.1.1 is installed in /usr/local/ssl111, then you would do this

export PKG_CONFIG_PATH=/usr/local/ssl111/lib/pkgconfig

For OpenSSL 3.0 installed in /usr/local/ssl30, it would be

export PKG_CONFIG_PATH=/usr/local/ssl30/lib64/pkgconfig

@webhtb
Copy link
Author

webhtb commented Mar 21, 2023

Compilled with OpenSSL 3.1.0 but i get this warning, i hope curl will work fine:

/usr/bin/ld/usr/bin/ld: warning: : warning: libssl.so.1.1libcrypto.so.1.1, needed by , needed by /usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/libcurl.so/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/libcurl.so, may conflict with , may conflict with libssl.so.3libcrypto.so.3

Thanks!!

@webhtb
Copy link
Author

webhtb commented Mar 21, 2023

https://www.medasig.md/test.php

I think is ok, curl will use OpenSSL/1.1.1l-fips
OpenSSL enabled: OpenSSL 3.1.0 14 Mar 2023

Thank you so much !

@bukka
Copy link
Member

bukka commented Mar 21, 2023

You should not be mixing different versions of libraries as it might result in issues if this is just not for some testing. Ideally you should also recompile other libraries and use the same version for all. That's why it is usually easier to rely on system lib...

@webhtb
Copy link
Author

webhtb commented Mar 21, 2023

Surely! Have a nice day and thanks again!

@iluuu1994 iluuu1994 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants