configure: error: /usr/include/openssl is a bad --with-openssl prefix

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了configure: error: /usr/include/openssl is a bad --with-openssl prefix相关的知识,希望对你有一定的参考价值。

不同版本,会有所差异。如果编译出现这个错误,正确写法如下:

# 应该有/usr/include/openssl这个目录

./configure --with-openssl=/usr

以上是关于configure: error: /usr/include/openssl is a bad --with-openssl prefix的主要内容,如果未能解决你的问题,请参考以下文章

linux driver error ------ ERROR: Kernel configuration is invalid

configure: error: XML configuration could not be found

configure: error: mysql configure failed. Please check config.log for more information.

configure: error: invalid variable name: `-prefix'

configure: error: Jabber library not found

转linux configure报错configure: error: C++ preprocessor “/lib/cpp” fails sanity 的解决办法