./configure: error: SSL modules require the OpenSSL library.

1588 단어
CentOS 6.5에서 Tengine 설치 구성 명령 실행
./configure 
다음과 같은 오류가 발생했습니다.
./configure: error: SSL modules require the OpenSSL library.You can either do not enable the modules, or install the OpenSSL libraryinto the system, or build the OpenSSL library statically from the sourcewith nginx by using --with-openssl= option.
해결 방법:
다음 명령을 수행합니다.
yum -y install openssl openssl-devel
실행 성공 후 실행
./configure
Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library
  + jemalloc library is disabled

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx configuration prefix: "/usr/local/nginx/conf"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: "client_body_temp"
  nginx dso module path: "/usr/local/nginx/modules/"
  nginx http proxy temporary files: "proxy_temp"
  nginx http fastcgi temporary files: "fastcgi_temp"
  nginx http uwsgi temporary files: "uwsgi_temp"
  nginx http scgi temporary files: "scgi_temp"

마지막 출력을 보면 설정이 성공했습니다.
관련 기사:
CentOS 6.5에서 Tengine 설치 로깅
CentOS6.5 Nginx1.7.4 설치 레코드

좋은 웹페이지 즐겨찾기