安装失败,辛苦看下日志
辛苦大佬了。openssl.c:(.text+0x99f5): undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/openssl.o: In function `zif_openssl_csr_sign':
openssl.c:(.text+0xa283): undefined reference to `X509_REQ_get_subject_name'
openssl.c:(.text+0xa2b8): undefined reference to `X509_getm_notBefore'
openssl.c:(.text+0xa2db): undefined reference to `X509_getm_notAfter'
ext/openssl/.libs/openssl.o: In function `zif_openssl_csr_new':
openssl.c:(.text+0xa6c2): undefined reference to `X509_REQ_get_subject_name'
openssl.c:(.text+0xa77b): undefined reference to `OPENSSL_sk_num'
openssl.c:(.text+0xa796): undefined reference to `OPENSSL_sk_value'
openssl.c:(.text+0xa86c): undefined reference to `OPENSSL_sk_num'
openssl.c:(.text+0xa937): undefined reference to `OPENSSL_sk_num'
openssl.c:(.text+0xa949): undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/openssl.o: In function `zif_openssl_pkey_export_to_file':
openssl.c:(.text+0xaf3b): undefined reference to `EVP_PKEY_get0_EC_KEY'
ext/openssl/.libs/openssl.o: In function `zif_openssl_pkey_export':
openssl.c:(.text+0xb1b3): undefined reference to `EVP_PKEY_get0_EC_KEY'
ext/openssl/.libs/openssl.o: In function `php_openssl_pkey_init_and_assign_rsa':
openssl.c:(.text+0xb54b): undefined reference to `RSA_set0_key'
openssl.c:(.text+0xb65f): undefined reference to `RSA_set0_factors'
openssl.c:(.text+0xb6fb): undefined reference to `RSA_set0_crt_params'
ext/openssl/.libs/openssl.o: In function `php_openssl_pkey_init_dsa':
openssl.c:(.text+0xb83e): undefined reference to `DSA_set0_pqg'
openssl.c:(.text+0xb89c): undefined reference to `DSA_set0_key'
openssl.c:(.text+0xb908): undefined reference to `DSA_get0_key'
openssl.c:(.text+0xb91b): undefined reference to `BN_is_zero'
ext/openssl/.libs/openssl.o: In function `php_openssl_pkey_init_dh':
openssl.c:(.text+0xba3c): undefined reference to `DH_set0_pqg'
openssl.c:(.text+0xbad7): undefined reference to `BN_with_flags'
openssl.c:(.text+0xbb18): undefined reference to `DH_set0_key'
openssl.c:(.text+0xbba5): undefined reference to `DH_set0_key'
ext/openssl/.libs/openssl.o: In function `php_sk_X509_free':
openssl.c:(.text+0xdea): undefined reference to `OPENSSL_sk_free'
ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `capture_peer_certs.isra.5':
xp_ssl.c:(.text+0xef1): undefined reference to `OPENSSL_sk_value'
xp_ssl.c:(.text+0xf2d): undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `enable_server_sni.isra.12':
xp_ssl.c:(.text+0x132a): undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
xp_ssl.c:(.text+0x1a4b): undefined reference to `TLS_client_method'
xp_ssl.c:(.text+0x20b5): undefined reference to `SSL_CTX_set_options'
xp_ssl.c:(.text+0x20e8): undefined reference to `SSL_CTX_get_options'
xp_ssl.c:(.text+0x225a): undefined reference to `SSL_CTX_set_options'
xp_ssl.c:(.text+0x2391): undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_sockop_set_option':
xp_ssl.c:(.text+0x365b): undefined reference to `OPENSSL_sk_num'
xp_ssl.c:(.text+0x36b2): undefined reference to `OPENSSL_sk_value'
ext/ftp/.libs/php_ftp.o: In function `zm_startup_ftp':
/root/lnmp1.7/src/php-7.1.33/ext/ftp/php_ftp.c:313: undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/php_ftp.o: In function `zm_startup_ftp':
php_ftp.c:(.text+0x14): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x20): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x2c): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x38): undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/root/lnmp1.7/src/php-7.1.33/ext/ftp/ftp.c:288: undefined reference to `TLS_client_method'
ext/ftp/.libs/ftp.o: In function `ftp_login':
ftp.c:(.text+0xef2): undefined reference to `SSL_CTX_set_options'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/root/lnmp1.7/src/php-7.1.33/ext/gd/libgd/gdkanji.c:349: undefined reference to `libiconv_open'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert.constprop.1':
gdkanji.c:(.text+0x267): undefined reference to `libiconv'
gdkanji.c:(.text+0x274): undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
/root/lnmp1.7/src/php-7.1.33/ext/iconv/iconv.c:2596: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_factory_create':
iconv.c:(.text+0x56e): undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
iconv.c:(.text+0x6bb): undefined reference to `libiconv_open'
iconv.c:(.text+0x750): undefined reference to `libiconv'
iconv.c:(.text+0x78d): undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
iconv.c:(.text+0x92d): undefined reference to `libiconv'
iconv.c:(.text+0x9db): undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
iconv.c:(.text+0xa78): undefined reference to `libiconv_open'
iconv.c:(.text+0x10dd): undefined reference to `libiconv_close'
iconv.c:(.text+0x10e5): undefined reference to `libiconv_close'
iconv.c:(.text+0x137b): undefined reference to `libiconv_close'
iconv.c:(.text+0x138a): undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `zif_iconv_substr':
iconv.c:(.text+0x1abd): undefined reference to `libiconv_open'
iconv.c:(.text+0x1bcf): undefined reference to `libiconv'
iconv.c:(.text+0x1c32): undefined reference to `libiconv_close'
iconv.c:(.text+0x1c3f): undefined reference to `libiconv_close'
iconv.c:(.text+0x1cb5): undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `zif_iconv_mime_encode':
iconv.c:(.text+0x2088): undefined reference to `libiconv_open'
iconv.c:(.text+0x20a4): undefined reference to `libiconv_open'
iconv.c:(.text+0x2386): undefined reference to `libiconv'
iconv.c:(.text+0x23b6): undefined reference to `libiconv'
iconv.c:(.text+0x26c7): undefined reference to `libiconv_close'
iconv.c:(.text+0x26d1): undefined reference to `libiconv_close'
iconv.c:(.text+0x27c4): undefined reference to `libiconv'
iconv.c:(.text+0x2823): undefined reference to `libiconv'
iconv.c:(.text+0x2851): undefined reference to `libiconv'
iconv.c:(.text+0x2a2a): undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket.isra.9':
iconv.c:(.text+0x35be): undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:iconv.c:(.text+0x3676): more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
iconv.c:(.text+0x38fa): undefined reference to `libiconv_open'
iconv.c:(.text+0x3964): undefined reference to `libiconv'
iconv.c:(.text+0x3a4b): undefined reference to `libiconv'
iconv.c:(.text+0x3a68): undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
iconv.c:(.text+0x3dc8): undefined reference to `libiconv_open'
iconv.c:(.text+0x3e78): undefined reference to `libiconv'
iconv.c:(.text+0x3f4d): undefined reference to `libiconv_close'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/root/lnmp1.7/src/php-7.1.33/ext/phar/util.c:1563: undefined reference to `EVP_MD_CTX_new'
ext/phar/.libs/util.o: In function `phar_verify_signature':
util.c:(.text+0x2800): undefined reference to `EVP_MD_CTX_free'
util.c:(.text+0x2c1b): undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
util.c:(.text+0x2f7a): undefined reference to `EVP_MD_CTX_new'
util.c:(.text+0x301b): undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/root/lnmp1.7/src/php-7.1.33/ext/xmlrpc/libxmlrpc/encodings.c:74: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
encodings.c:(.text+0xe0): undefined reference to `libiconv'
encodings.c:(.text+0xf6): undefined reference to `libiconv_close'
encodings.c:(.text+0x1b6): undefined reference to `libiconv_close'
openssl 显示版本为:OpenSSL 1.1.0g2 Nov 2017,但centos 7实际版本为1.0.2k,你自己另外安装的openssl导致的依赖关系异常
页:
[1]