UnrealIRCd 基础4

2021-11-29 17:56:47 浏览数 (1)

报错

报错内容

代码语言:javascript复制
checking for openssl... not found

Apparently you do not have both the openssl binary and openssl development libraries installed.
Please install the needed binaries and libraries.
The package is often called 'openssl-dev', 'openssl-devel' or 'libssl-dev'
After doing so re-run ./Config

由于依赖 openssl-devel , 在它缺失的情况下就会报找不到的错

代码语言:javascript复制
[root@h104 unrealircd-4.0.2]# rpm -qa | egrep -E '(openssl|libssl)'
openssl-1.0.1e-51.el7_2.2.x86_64
openssl098e-0.9.8e-29.el7.centos.2.x86_64
openssl-libs-1.0.1e-51.el7_2.2.x86_64
[root@h104 unrealircd-4.0.2]# 

解决办法是给系统装上这个包

代码语言:javascript复制
[root@h104 unrealircd-4.0.2]# yum install openssl-devel.x86_64
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                                                                           | 3.6 kB  00:00:00     
docker-main-repo                                                                                               | 2.9 kB  00:00:00     
dockerrepo                                                                                                     | 2.9 kB  00:00:00     
extras                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                        | 3.4 kB  00:00:00     
(1/4): extras/7/x86_64/primary_db                                                                              | 101 kB  00:00:00     
(2/4): docker-main-repo/primary_db                                                                             |  13 kB  00:00:00     
(3/4): dockerrepo/7/primary_db                                                                                 |  13 kB  00:00:00     
(4/4): updates/7/x86_64/primary_db                                                                             | 3.2 MB  00:00:01     
Loading mirror speeds from cached hostfile
 * base: mirrors.skyshe.cn
 * extras: mirrors.skyshe.cn
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.1e-51.el7_2.4 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-51.el7_2.4 for package: 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.13.2-10.el7 will be installed
--> Processing Dependency: libverto-devel for package: krb5-devel-1.13.2-10.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.13.2-10.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.13.2-10.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.13.2-10.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.2 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-51.el7_2.2 for package: 1:openssl-1.0.1e-51.el7_2.2.x86_64
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.4 will be an update
---> Package zlib-devel.x86_64 0:1.2.7-15.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-7.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.2.2-6.el7 will be installed
--> Processing Dependency: libsepol-devel >= 2.1.9-1 for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.2.2-6.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.2 will be updated
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.4 will be an update
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.1.9-3.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-15.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                               Arch                     Version                               Repository                 Size
======================================================================================================================================
Installing:
 openssl-devel                         x86_64                   1:1.0.1e-51.el7_2.4                   updates                   1.2 M
Installing for dependencies:
 keyutils-libs-devel                   x86_64                   1.5.8-3.el7                           base                       37 k
 krb5-devel                            x86_64                   1.13.2-10.el7                         base                      649 k
 libcom_err-devel                      x86_64                   1.42.9-7.el7                          base                       30 k
 libselinux-devel                      x86_64                   2.2.2-6.el7                           base                      174 k
 libsepol-devel                        x86_64                   2.1.9-3.el7                           base                       71 k
 libverto-devel                        x86_64                   0.2.5-4.el7                           base                       12 k
 pcre-devel                            x86_64                   8.32-15.el7                           base                      478 k
 zlib-devel                            x86_64                   1.2.7-15.el7                          base                       50 k
Updating for dependencies:
 openssl                               x86_64                   1:1.0.1e-51.el7_2.4                   updates                   711 k
 openssl-libs                          x86_64                   1:1.0.1e-51.el7_2.4                   updates                   951 k

Transaction Summary
======================================================================================================================================
Install  1 Package  ( 8 Dependent packages)
Upgrade             ( 2 Dependent packages)

Total download size: 4.3 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                             |  37 kB  00:00:00     
(2/11): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                  |  12 kB  00:00:00     
(3/11): libcom_err-devel-1.42.9-7.el7.x86_64.rpm                                                               |  30 kB  00:00:00     
(4/11): libsepol-devel-2.1.9-3.el7.x86_64.rpm                                                                  |  71 kB  00:00:00     
(5/11): openssl-1.0.1e-51.el7_2.4.x86_64.rpm                                                                   | 711 kB  00:00:00     
(6/11): krb5-devel-1.13.2-10.el7.x86_64.rpm                                                                    | 649 kB  00:00:01     
(7/11): openssl-libs-1.0.1e-51.el7_2.4.x86_64.rpm                                                              | 951 kB  00:00:01     
(8/11): pcre-devel-8.32-15.el7.x86_64.rpm                                                                      | 478 kB  00:00:00     
(9/11): zlib-devel-1.2.7-15.el7.x86_64.rpm                                                                     |  50 kB  00:00:00     
(10/11): libselinux-devel-2.2.2-6.el7.x86_64.rpm                                                               | 174 kB  00:00:02     
(11/11): openssl-devel-1.0.1e-51.el7_2.4.x86_64.rpm                                                            | 1.2 MB  00:00:22     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 190 kB/s | 4.3 MB  00:00:23     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Updating   : 1:openssl-libs-1.0.1e-51.el7_2.4.x86_64                                                                           1/13 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                            2/13 
  Installing : libcom_err-devel-1.42.9-7.el7.x86_64                                                                              3/13 
  Installing : libsepol-devel-2.1.9-3.el7.x86_64                                                                                 4/13 
  Installing : pcre-devel-8.32-15.el7.x86_64                                                                                     5/13 
  Installing : libselinux-devel-2.2.2-6.el7.x86_64                                                                               6/13 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                 7/13 
  Installing : krb5-devel-1.13.2-10.el7.x86_64                                                                                   8/13 
  Installing : zlib-devel-1.2.7-15.el7.x86_64                                                                                    9/13 
  Installing : 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64                                                                         10/13 
  Updating   : 1:openssl-1.0.1e-51.el7_2.4.x86_64                                                                               11/13 
  Cleanup    : 1:openssl-1.0.1e-51.el7_2.2.x86_64                                                                               12/13 
  Cleanup    : 1:openssl-libs-1.0.1e-51.el7_2.2.x86_64                                                                          13/13 
  Verifying  : zlib-devel-1.2.7-15.el7.x86_64                                                                                    1/13 
  Verifying  : libselinux-devel-2.2.2-6.el7.x86_64                                                                               2/13 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                 3/13 
  Verifying  : 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64                                                                          4/13 
  Verifying  : pcre-devel-8.32-15.el7.x86_64                                                                                     5/13 
  Verifying  : krb5-devel-1.13.2-10.el7.x86_64                                                                                   6/13 
  Verifying  : 1:openssl-1.0.1e-51.el7_2.4.x86_64                                                                                7/13 
  Verifying  : libsepol-devel-2.1.9-3.el7.x86_64                                                                                 8/13 
  Verifying  : 1:openssl-libs-1.0.1e-51.el7_2.4.x86_64                                                                           9/13 
  Verifying  : libcom_err-devel-1.42.9-7.el7.x86_64                                                                             10/13 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                           11/13 
  Verifying  : 1:openssl-libs-1.0.1e-51.el7_2.2.x86_64                                                                          12/13 
  Verifying  : 1:openssl-1.0.1e-51.el7_2.2.x86_64                                                                               13/13 

Installed:
  openssl-devel.x86_64 1:1.0.1e-51.el7_2.4                                                                                            

Dependency Installed:
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7      krb5-devel.x86_64 0:1.13.2-10.el7        libcom_err-devel.x86_64 0:1.42.9-7.el7     
  libselinux-devel.x86_64 0:2.2.2-6.el7         libsepol-devel.x86_64 0:2.1.9-3.el7      libverto-devel.x86_64 0:0.2.5-4.el7        
  pcre-devel.x86_64 0:8.32-15.el7               zlib-devel.x86_64 0:1.2.7-15.el7        

Dependency Updated:
  openssl.x86_64 1:1.0.1e-51.el7_2.4                              openssl-libs.x86_64 1:1.0.1e-51.el7_2.4                             

Complete!
[root@h104 unrealircd-4.0.2]# echo $?
0
[root@h104 unrealircd-4.0.2]#

0 人点赞