make出错 ./configure: error: SSL modules require the OpenSSL library.

  • Post author:
  • Post category:其他



make出错
make: *** No rule to make target `build’, needed by `default’.  Stop.

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using –with-openssl=<path> option.

ubuntu下解决办法:

apt-get install openssl


apt-get install libssl-dev