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

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

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


# 应该有/usr/include/openssl这个目录
./configure --with-openssl=/usr

目录
相关文章
|
2月前
|
Ubuntu Linux iOS开发
问题./configure: error: the HTTP gzip module requires the zlib library.处理
问题./configure: error: the HTTP gzip module requires the zlib library.处理
735 6
|
应用服务中间件 网络安全 nginx
./configure: error: SSL modules require the OpenSSL library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: SSL modules require the OpenSSL library.
1989 0
|
6月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
114 1
configure: error: /usr/include/openssl is a bad --with-openssl prefix
configure: error: /usr/include/openssl is a bad --with-openssl prefix
783 0
Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)Call Stack
Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)Call Stack
499 0
/usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: glibconfig.h: No such file or directory
/usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: glibconfig.h: No such file or directory
215 0
configure: error: zlib not installed
configure: error: zlib not installed
143 0
|
Linux PHP
configure: error: Cannot find ldap libraries in /usr/lib
<p style="padding-top:0px; padding-bottom:0px; margin-top:0px; margin-bottom:0px; clear:both; height:auto; overflow:hidden; color:rgb(80,80,80); font-family:宋体,'Arial Narrow',arial,serif; font-siz
1812 0
|
Shell 开发工具 C语言
php-7.3.13 configure: error: Please reinstall the libzip distribution
php-7.3.13 configure: error: Please reinstall the libzip distribution
254 0
php-7.3.13 configure: error: Please reinstall the libzip distribution
./configure: error: the HTTP rewrite module requires the PCRE library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: the HTTP rewrite module requires the PCRE library.
1543 0