@jonimuesli
Краткость сестра таланта

Проблема в компиляции php 7.1?

Не проходит make после компиляции, выводит ошибки:

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 `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
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 `enable_server_sni':
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1359: undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1512: undefined reference to `TLS_client_method'
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1594: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `set_server_specific_opts':
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1241: undefined reference to `SSL_CTX_get_options'
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1268: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
/opt/php-7.1.19/ext/openssl/xp_ssl.c:1512: undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_num':
/usr/local/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/local/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_value'
ext/ftp/.libs/php_ftp.o: In function `zm_startup_ftp':
/opt/php-7.1.19/ext/ftp/php_ftp.c:313: undefined reference to `OPENSSL_init_ssl'
/opt/php-7.1.19/ext/ftp/php_ftp.c:314: undefined reference to `OPENSSL_init_crypto'
/opt/php-7.1.19/ext/ftp/php_ftp.c:315: undefined reference to `OPENSSL_init_crypto'
/opt/php-7.1.19/ext/ftp/php_ftp.c:316: undefined reference to `OPENSSL_init_crypto'
/opt/php-7.1.19/ext/ftp/php_ftp.c:318: undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/opt/php-7.1.19/ext/ftp/ftp.c:283: undefined reference to `TLS_client_method'
/opt/php-7.1.19/ext/ftp/ftp.c:292: undefined reference to `SSL_CTX_set_options'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/opt/php-7.1.19/ext/phar/util.c:1563: undefined reference to `EVP_MD_CTX_new'
/opt/php-7.1.19/ext/phar/util.c:1595: undefined reference to `EVP_MD_CTX_free'
/opt/php-7.1.19/ext/phar/util.c:1586: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/opt/php-7.1.19/ext/phar/util.c:1860: undefined reference to `EVP_MD_CTX_new'
/opt/php-7.1.19/ext/phar/util.c:1892: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Ошибка 1
  • Вопрос задан
  • 387 просмотров
Пригласить эксперта
Ответы на вопрос 1
yoker360
@yoker360
прывет
проверь openssl
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы