configure: error: Please reinstall the libcurl distribution 해결방법

시스템운영/Apache+PHP|2019.03.18 18:00
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for OpenSSL support... no
checking for Kerberos support... yes
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr/lib
checking for gzgets in -lz... (cached) yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/


*해결방법
[root]# yum -y install curl*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package curl-7.15.5-17.el5_9.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package curl-devel.i386 0:7.15.5-17.el5_9 set to be updated
--> Processing Dependency: libidn-devel for package: curl-devel
--> Processing Dependency: openssl-devel for package: curl-devel
--> Running transaction check
---> Package libidn-devel.i386 0:0.6.5-1.1 set to be updated
---> Package openssl-devel.i386 0:0.9.8e-27.el5_10.4 set to be updated
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Running transaction check
---> Package krb5-devel.i386 0:1.6.1-71.el5_10.1 set to be updated
--> Processing Dependency: libselinux-devel for package: krb5-devel
--> Processing Dependency: e2fsprogs-devel for package: krb5-devel
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel
--> Running transaction check
---> Package e2fsprogs-devel.i386 0:1.39-36.el5_9 set to be updated
---> Package keyutils-libs-devel.i386 0:1.2-1.el5 set to be updated
---> Package libselinux-devel.i386 0:1.33.4-5.7.el5 set to be updated
--> Processing Dependency: libsepol-devel >= 1.15.2-1 for package: libselinux-devel
--> Running transaction check
---> Package libsepol-devel.i386 0:1.15.2-3.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================
Package                                      Arch                          Version                                     Repository                        Size
===============================================================================================================================================================
Installing:
curl-devel                                   i386                          7.15.5-17.el5_9                             base                             310 k
Installing for dependencies:
e2fsprogs-devel                              i386                          1.39-36.el5_9                               base                             575 k
keyutils-libs-devel                          i386                          1.2-1.el5                                   base                              27 k
krb5-devel                                   i386                          1.6.1-71.el5_10.1                           updates                          1.9 M
libidn-devel                                 i386                          0.6.5-1.1                                   base                             239 k
libselinux-devel                             i386                          1.33.4-5.7.el5                              base                             144 k
libsepol-devel                               i386                          1.15.2-3.el5                                base                             187 k
openssl-devel                                i386                          0.9.8e-27.el5_10.4                          updates                          1.9 M

Transaction Summary
===============================================================================================================================================================
Install       8 Package(s)
Upgrade       0 Package(s)

Total download size: 5.2 M
Downloading Packages:
(1/8): keyutils-libs-devel-1.2-1.el5.i386.rpm                                                                                           |  27 kB     00:00
(2/8): libselinux-devel-1.33.4-5.7.el5.i386.rpm                                                                                         | 144 kB     00:00
(3/8): libsepol-devel-1.15.2-3.el5.i386.rpm                                                                                             | 187 kB     00:00
(4/8): libidn-devel-0.6.5-1.1.i386.rpm                                                                                                  | 239 kB     00:00
(5/8): curl-devel-7.15.5-17.el5_9.i386.rpm                                                                                              | 310 kB     00:00
(6/8): e2fsprogs-devel-1.39-36.el5_9.i386.rpm                                                                                           | 575 kB     00:00
(7/8): krb5-devel-1.6.1-71.el5_10.1.i386.rpm                                                                                            | 1.9 MB     00:01
(8/8): openssl-devel-0.9.8e-27.el5_10.4.i386.rpm                                                                                        | 1.9 MB     00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                          778 kB/s | 5.2 MB     00:06
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : keyutils-libs-devel                                                                                                                     1/8
  Installing     : e2fsprogs-devel                                                                                                                         2/8
  Installing     : libidn-devel                                                                                                                            3/8
  Installing     : libsepol-devel                                                                                                                          4/8
  Installing     : libselinux-devel                                                                                                                        5/8
  Installing     : krb5-devel                                                                                                                              6/8
  Installing     : openssl-devel                                                                                                                           7/8
  Installing     : curl-devel                                                                                                                              8/8

Installed:
  curl-devel.i386 0:7.15.5-17.el5_9

Dependency Installed:
  e2fsprogs-devel.i386 0:1.39-36.el5_9      keyutils-libs-devel.i386 0:1.2-1.el5    krb5-devel.i386 0:1.6.1-71.el5_10.1        libidn-devel.i386 0:0.6.5-1.1
  libselinux-devel.i386 0:1.33.4-5.7.el5    libsepol-devel.i386 0:1.15.2-3.el5      openssl-devel.i386 0:0.9.8e-27.el5_10.4

Complete!

댓글(0)