linux centos 安装 openssl和httpd错误。
  z4Z15vxBbx5d 2023年11月13日 42 0
编译安装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正常了
在此做个记录


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

上一篇: 权限管理(3) 下一篇: 升级openssh
  1. 分享:
最后一次编辑于 2023年11月13日 0

暂无评论

推荐阅读
  jnZtF7Co41Wg   2023年11月22日   19   0   0 linuxApacheci
  jnZtF7Co41Wg   2023年11月24日   27   0   0 分区表cicentos
  py5aPqzocVnd   2023年11月22日   33   0   0 协议ci