编译安装openssl3.0.10,在安装httpd出现错误。
一、出现如下错误;
ab.o: In function `ssl_print_cert_info':
/srv/httpd-2.4.57/support/ab.c:666: undefined reference to `X509_get_version'
/srv/httpd-2.4.57/support/ab.c:668: undefined reference to `X509_getm_notBefore'
/srv/httpd-2.4.57/support/ab.c:672: undefined reference to `X509_getm_notAfter'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_value'
ab.o: In function `main':
/srv/httpd-2.4.57/support/ab.c:2319: undefined reference to `TLS_client_method'
/srv/httpd-2.4.57/support/ab.c:2572: undefined reference to `TLS_client_method'
/srv/httpd-2.4.57/support/ab.c:2650: undefined reference to `OPENSSL_init_ssl'
/srv/httpd-2.4.57/support/ab.c:2651: undefined reference to `OPENSSL_init_ssl'
/srv/httpd-2.4.57/support/ab.c:2660: undefined reference to `SSL_CTX_set_options'
/srv/httpd-2.4.57/support/ab.c:2674: undefined reference to `SSL_CTX_set_ciphersuites'
ab.o: In function `test':
/srv/httpd-2.4.57/support/ab.c:2003: undefined reference to `SSL_in_init'
collect2: error: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/srv/httpd-2.4.57/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srv/httpd-2.4.57/support'
make: *** [all-recursive] Error 1
二、卸载系统本身的openssl-devel
yum remove openssl-devel
在make编译安装httpd正常了
在此做个记录
linux centos 安装 openssl和httpd错误。
原创tianyu_7903 博主文章分类:linux centos ©著作权
©著作权归作者所有:来自51CTO博客作者tianyu_7903的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
5-Docker实例-安装httpd
5-Docker实例-安装httpd
centos apache docker -
arch linux上安装 httpd+php+mysql+ openssl
arch linux上安装 httpd+php+mysql+ openssl
linux openssl arch linux上安装 httpd+php+mysql+ -
Linux源码安装httpd:Centos7
源码安装httpd
源码安装httpd -
OpenSSL CentOS 7 安装
OpenSSL CentOS 7 安装OpenSSL是一个开源的ssl技术,由于我需要使用php相关功能,需要获取https的文件所
centos openssl github linux -
CentOS 7.3编译安装httpd
linux 编译安装 httpd 配置
linux 编译安装 httpd -
CentOS离线安装httpd服务
文章目录需求背景安装需求背景需要在无网络环境下安装httpd服务安装提示:直接下载httpd离线安装包无法安装成功
mysql 数据库 linux centos 安装包