首页 > 系统相关 >linux centos 安装 openssl和httpd错误。

linux centos 安装 openssl和httpd错误。

时间:2023-09-08 11:35:24浏览次数:48  
标签:httpd ab centos reference support undefined openssl 2.4

一、出现如下错误;
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正常了
在此做个记录


标签:httpd,ab,centos,reference,support,undefined,openssl,2.4
From: https://blog.51cto.com/u_2475296/7408032

相关文章

  • Windows访问Linux下的FTP服务器(Centos和Uuntu)
    centos7.9版本1.下载FTP离线安装包:http://rpmfind.net/linux/rpm2html/search.php?query=vsftpd(x86-64)   选择最后一个 vsftpd-3.0.2-28.el7.x86_64.rpm2.检查是否已经安装了vsftprpm-qa|grepvsftpd出现提示vsftpd版本号则表示......
  • Apache HTTPD-换行解析漏洞(CVE-2017-15715)
    目录ApacheHTTPD-换行解析漏洞(CVE-2017-15715)1.1、漏洞描述1.2、漏洞等级1.3、影响版本1.4、漏洞复现1、基础环境2、漏洞扫描3、漏洞验证1.5、深度利用GetShell1.6、修复建议ApacheHTTPD-换行解析漏洞(CVE-2017-15715)说明内容漏洞编号CVE-2017-15715漏洞名称Apac......
  • Apache HTTPD-未知后缀名解析
    目录ApacheHTTPD-未知后缀名解析ApacheHTTPD-未知后缀名解析upload-labs/Pass-07上传1.php文件<?php@eval($_REQUEST[6868]);phpinfo();?>访问/upload/1.php.jaychou蚁剑连接......
  • 本地centos yum源搭建
    1,使用nginx搭建一个web系统并显示文件目录并让这台机器可以上外网,虚拟机即可,系统centos7.9,硬盘容量需要至少1T以上2,编写yum的同步脚本,我选择从科技大学源同步3,创建centos6和7的目录和epel源同步基本的包,一,搭建nginx服务web显示linux目录下载nginx  http://nginx.org/en/downl......
  • 通过StarWindV2VConverter将VMWare的CentOS7虚拟机转换成Hyper-V产生所warning: /dev/
    1.在VMWare中将CentOS7虚拟机导出ovf,在StarWindV2VConverter中将其转换为VHDX2.在Hyper-V中新建虚拟机2.1在选择代数时要注意一定要选择“第一代”2.2在选择选择虚拟硬盘时,选择已转换好的VHDX文件3.启动Hyper-V中新建的虚拟机3.1出现了如下的问题-------------3.2处理方法在......
  • Centos7 安装cmake-绿色版
    下载Cmakewgethttps://cmake.org/files/v3.6/cmake-3.6.2.tar.gz解压Cmaketarxvfcmake-3.6.2.tar.gz&&cdcmake-3.6.2/编译版本安装方式:-----开始----编译安装cmake./bootstrapgmakegmakeinstall查看编译后的cmake版本/usr/local/bin/cmake--version移除原来的cmake版......
  • ESXI 8.0直通RTX4090显卡CentOS7.9安装显卡驱动实践指南
    案例环境信息EXSI版本:8.0.1操作系统版本:CentOS7.9显卡型号:NVIDIAGeForceRTX4090解决方案一物理机BIOS配置开启GPU直通Above4Gdecoding设置为EnabledMemorymappedI/Oabove4GB设置为Enabled或PCI64-bitresourcehandingabove4G设置为Enabled开启虚拟化功能Inte......
  • Linux 编译安装 OpenSSL
    #下载软件包wgethttps://www.openssl.org/source/openssl-1.1.1v.tar.gz#编译安装OpenSSLtarzxvfopenssl-1.1.1v.tar.gzcdopenssl-1.1.1v./config--prefix=/usr/local/openssl-1.1.1make&&makeinstall#备份原OpenSSLmv/usr/bin/openssl/usr/bin/openssl.......
  • linux学习 Centos 7(四)
    linux学习Centos7(四)进程管理对于开发人员来说,其实Linux更多偏向于使用!什么是进程1、在Linux中,每一个程序都有自己的一个进程,每一个进程都有一个id号!2、每一个进程,都会有一个父进程!3、进程可以有两种存在方式:前台、后台进行!4、一般的话,服务都是后台运行的,基本的程序都......
  • Centos7安装Docker全过程记录(无坑版教程)
     一、安装前必读在安装Docker之前,先说一下配置,我这里是Centos7Linux内核:官方建议3.10以上,3.8以上貌似也可。注意:本文的命令使用的是root用户登录执行,不是root的话所有命令前面要加sudo1.查看当前的内核版本uname-r2.使用root权限更新yum包(生产环境中此步操作......