国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

./configure: error: SSL modules require the OpenSSL library. You can either do not enable the module

這篇具有很好參考價(jià)值的文章主要介紹了./configure: error: SSL modules require the OpenSSL library. You can either do not enable the module。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

?Ubuntu22系統(tǒng),參考nginx文檔Support for QUIC and HTTP/3?執(zhí)行如下命令:

./configure
    --with-debug
    --with-http_v3_module
    --with-cc-opt="-I../boringssl/include"
    --with-ld-opt="-L../boringssl/build/ssl
                   -L../boringssl/build/crypto"

時(shí)報(bào)錯(cuò)如下:

./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.

但其實(shí)系統(tǒng)是有openssl庫(kù)的:

? ?out git:(v1.1.0) ? openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

必應(yīng)了一下,參考了這兩個(gè):https://forum.nginx.org/read.php?2,299223??#2605 (NGINX + BoringSSL build error (NGINX 1.25.4 required Openssl)) – nginx

編譯nginx時(shí)指定為c++ linker即可,具體步驟如下:文章來源地址http://www.zghlxwxcb.cn/news/detail-859841.html

git clone --recurse-submodules -j8 https://github.com/google/ngx_brotli
cd ngx_brotli/deps/brotli
mkdir out && cd out
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,--gc-sections" -DCMAKE_CXX_FLAGS="-Ofast -m64 -march=native -mtune=native -flto -funroll-loops -ffunction-sections -fdata-sections -Wl,--gc-sections" -DCMAKE_INSTALL_PREFIX=./installed ..
cmake --build . --config Release --target brotlienc
cd ../../../..

hg clone https://hg.nginx.org/nginx
cd nginx
./auto/configure --user=www --group=www --prefix=/www/server/nginx --with-pcre --add-module=../ngx_brotli --with-http_v2_module --with-stream --with-stream_ssl_module --with-http_ssl_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-ld-opt='-Wl,-E' --with-cc-opt=-Wno-error --with-ld-opt='-ljemalloc' --with-http_dav_module --with-http_v3_module --with-cc=c++ --with-cc-opt='-I ../boringssl/include -x c' --with-ld-opt='-L../boringssl/build/ssl -L../boringssl/build/crypto'
make 
sudo make install
cd /usr/sbin
sudo ln -s /www/server/nginx/sbin/nginx
nginx -version
# nginx version: nginx/1.25.5

到了這里,關(guān)于./configure: error: SSL modules require the OpenSSL library. You can either do not enable the module的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • ./configure: error: the HTTP rewrite module requires the PCRE library.

    ./configure: error: the HTTP rewrite module requires the PCRE library. 這個(gè)錯(cuò)誤提示告訴你,在運(yùn)行 configure 腳本時(shí)遇到了問題,原因是 HTTP rewrite 模塊需要 PCRE 庫(kù)的支持。 PCRE (Perl Compatible Regular Expressions) 是一種用來處理正則表達(dá)式的庫(kù),它主要用于文本搜索和替換。 要解決這個(gè)問題,你需

    2024年01月23日
    瀏覽(22)
  • ./configure: error: the HTTP XSLT module requires the libxml2/libx ubuntu

    一直服務(wù)器好好的用的寶塔面板,最近換了一臺(tái)服務(wù)器,還是ubuntu系統(tǒng)盤,什么也沒有改結(jié)果安裝完寶塔面板,怎么也裝不上nginx,看了下日志,提示: ./configure: error: the HTTP XSLT module requires the libxml2/libxslt librar 解決辦法: 用的以上代碼一下就好了,特此記錄,一下記錄是出現(xiàn)

    2024年02月13日
    瀏覽(22)
  • 解決WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python

    目錄 解決WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python不可用 的問題 問題描述 解決方案 1. 檢查Python環(huán)境 2. 安裝所需的依賴 對(duì)于Debian/Ubuntu系統(tǒng): 對(duì)于Fedora/CentOS系統(tǒng): 對(duì)于MacOS系統(tǒng): 對(duì)于Windows系統(tǒng): 3. 重新安裝Python環(huán)境 4. 使用另一個(gè)包管理器

    2024年02月05日
    瀏覽(21)
  • 已解決WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python

    已解決WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python

    已解決(pip升級(jí)報(bào)錯(cuò)) WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: pip in e:anacondainstall_rootlibsite-packages (21.0.1) WARNING: Retrying (Retry(total=4, connect=None, read=None, redi

    2024年02月02日
    瀏覽(23)
  • 解決錯(cuò)誤:pip is configured with locations that require TLS/SSL,the ssl module in Python is not available

    解決錯(cuò)誤:pip is configured with locations that require TLS/SSL,the ssl module in Python is not available。 pip安裝包出現(xiàn)錯(cuò)誤類似如下: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting protobuf=4.25.2 (fr

    2024年02月19日
    瀏覽(24)
  • 【阿里云 centos7安裝python3.12遇到的坑,openssl】Could not build the ssl module! Python requires a OpenSSL 1.1.1

    【阿里云 centos7安裝python3.12遇到的坑,openssl】Could not build the ssl module! Python requires a OpenSSL 1.1.1

    基于源碼安裝python 3.12,執(zhí)行 make 出現(xiàn)如下錯(cuò)誤 問題大概描述:找不到ssl模塊。該問題如果不解決的話,缺少 OpenSSL 模塊可能會(huì)影響許多涉及網(wǎng)絡(luò)通信和安全加密的 Python 應(yīng)用程序和庫(kù)。例如:ssl,request模塊等好多模塊都沒法使用。所以要要去openssl官網(wǎng)下載安裝,再來安裝p

    2024年04月28日
    瀏覽(27)
  • configure: error: openSSL library not found.解決方案

    configure: error: openSSL library not found.解決方案

    ??大家好,我是愛編程的喵喵。雙985碩士畢業(yè),現(xiàn)擔(dān)任全棧工程師一職,熱衷于將數(shù)據(jù)思維應(yīng)用到工作與生活中。從事機(jī)器學(xué)習(xí)以及相關(guān)的前后端開發(fā)工作。曾在阿里云、科大訊飛、CCF等比賽獲得多次Top名次。現(xiàn)為CSDN博客專家、人工智能領(lǐng)域優(yōu)質(zhì)創(chuàng)作者。喜歡通過博客創(chuàng)作

    2024年01月24日
    瀏覽(25)
  • glibc編譯時(shí)報(bào)錯(cuò):configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***

    glibc編譯時(shí)報(bào)錯(cuò):configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***

    在編譯glibc時(shí),進(jìn)到glibc源碼里: cd glibc-source mkdir build cd build 開始配置,執(zhí)行了如下命令: ../configure --prefix=/opt/glibc 然后報(bào)如下錯(cuò)誤: “configure: WARNING: *** These auxiliary programs are missing or incompatible versions: makeinfo *** some features or tests will be disabled. *** Check the INSTALL file for requir

    2024年02月11日
    瀏覽(43)
  • You may need to configure your browser or application to trust the Charles Root Certificate. See SSL

    You may need to configure your browser or application to trust the Charles Root Certificate. See SSL

    抓包環(huán)境 雷電9模擬器,Charles v4.6.3 抓包過程中遇到的問題 一、 抓不到包,Charles一片空白 解決方案:Postern設(shè)置問題,點(diǎn)我點(diǎn)我點(diǎn)我 二、 抓到的https全是unknown,并且提示: You may need to configure your browser or application to trust the Charles Root Certificate. See SSL Proxying in the Help menu. 解決

    2024年02月03日
    瀏覽(25)
  • A fatal error occurred. The required library hostfxr.dll could not be found.錯(cuò)誤處理

    一個(gè)可控制臺(tái)程序使用.NET 6開發(fā),發(fā)行版運(yùn)行出現(xiàn)如下錯(cuò)誤: A fatal error occurred. The required library hostfxr.dll could not be found. If this is a self-contained application, that library should exist in [D:xxxServer]. If this is a framework-dependent application, install the runtime in the global location [C:Program Files (x86)d

    2024年02月12日
    瀏覽(28)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包