[php-src] Issue #10902: Error compilling
| From: | webhtb | Date: | Tue, 21 Mar 2023 16:05:14 +0000 |
| Subject: | [php-src] Issue #10902: Error compilling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243961@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10902
Author: webhtb
### 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