{"id":10732,"date":"2023-11-14T09:13:13","date_gmt":"2023-11-14T01:13:13","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732"},"modified":"2023-11-17T16:16:24","modified_gmt":"2023-11-17T08:16:24","slug":"nginx-aarch64%e6%9e%b6%e6%9e%84%e4%ba%a4%e5%8f%89%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732","title":{"rendered":"Nginx aarch64\u67b6\u6784\u4ea4\u53c9\u7f16\u8bd1"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732\/#%E6%BA%90%E7%A0%81%E4%B8%8B%E8%BD%BD\" title=\"\u6e90\u7801\u4e0b\u8f7d\">\u6e90\u7801\u4e0b\u8f7d<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732\/#%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91\" title=\"\u4ea4\u53c9\u7f16\u8bd1\">\u4ea4\u53c9\u7f16\u8bd1<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732\/#%E7%BC%96%E8%AF%91%E4%B8%AD%E6%8A%A5%E9%94%99\" title=\"\u7f16\u8bd1\u4e2d\u62a5\u9519\">\u7f16\u8bd1\u4e2d\u62a5\u9519<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=10732\/#%E7%9B%B8%E5%85%B3%E7%AC%AC%E4%B8%89%E6%96%B9%E6%A8%A1%E5%9D%97%E7%BC%96%E8%AF%91%E4%B8%8E%E5%8A%A0%E8%BD%BD\" title=\"\u76f8\u5173\u7b2c\u4e09\u65b9\u6a21\u5757\u7f16\u8bd1\u4e0e\u52a0\u8f7d\">\u76f8\u5173\u7b2c\u4e09\u65b9\u6a21\u5757\u7f16\u8bd1\u4e0e\u52a0\u8f7d<\/a><\/li><\/ul><\/nav><\/div>\n<h4><span class=\"ez-toc-section\" id=\"%E6%BA%90%E7%A0%81%E4%B8%8B%E8%BD%BD\"><\/span>\u6e90\u7801\u4e0b\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a href=\"https:\/\/nginx.org\/en\/download.html\">https:\/\/nginx.org\/en\/download.html<\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91\"><\/span>\u4ea4\u53c9\u7f16\u8bd1<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a href=\"https:\/\/blog.csdn.net\/enthu1997\/article\/details\/105262110\">https:\/\/blog.csdn.net\/enthu1997\/article\/details\/105262110<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/591025497?utm_id=0&amp;wd=&amp;eqid=8bd518de0000bf6300000006647b202b\">https:\/\/zhuanlan.zhihu.com\/p\/591025497?utm_id=0&amp;wd=&amp;eqid=8bd518de0000bf6300000006647b202b<\/a><\/p>\n<ul>\n<li>\u914d\u7f6e\u9879<br \/>\n<a href=\"https:\/\/blog.csdn.net\/weixin_51202460\/article\/details\/124040132\">https:\/\/blog.csdn.net\/weixin_51202460\/article\/details\/124040132<\/a><br \/>\n<code>.\/configure --with-cc=<\/code>which aarch64-linux-gnu-gcc<code> --with-cpp=<\/code>which aarch64-linux-gnu-g++<code>   --with-stream --without-http_rewrite_module --with-ld-opt=&quot;-L\/usr\/aarch64-linux-gnu\/lib\/lib\/ -lcrypto&quot; --without-http_gzip_module<\/code><\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"%E7%BC%96%E8%AF%91%E4%B8%AD%E6%8A%A5%E9%94%99\"><\/span>\u7f16\u8bd1\u4e2d\u62a5\u9519<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>\n<p>ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]<br \/>\n<a href=\"https:\/\/blog.csdn.net\/cpdd685\/article\/details\/130542556\">https:\/\/blog.csdn.net\/cpdd685\/article\/details\/130542556<\/a><\/p>\n<\/li>\n<li>\n<pre><code class=\"language-bash\">checking for C compiler ... found but is not working \u53ca objs\/src\/os\/unix\/ngx_user.o: In function <code>ngx_libc_crypt&#039;: ngx_user.c:(.text+0x20): undefined reference to <\/code>crypt'<\/code><\/pre>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/blog.csdn.net\/leego1234\/article\/details\/119647530\">https:\/\/blog.csdn.net\/leego1234\/article\/details\/119647530<\/a><\/p>\n<p>\u5176\u4e2d`undefined reference to `crypt&#039;`\u95ee\u9898\uff0c\u7f16\u8bd1\u5e76\u94fe\u63a5\u4e86crypt\u52a8\u6001\u5e93\uff0c\u4ecd\u7136\u62a5\u9519\u3002<\/p>\n<ul>\n<li>can not detect int size<br \/>\n<a href=\"https:\/\/blog.csdn.net\/YZC1078\/article\/details\/87639327\">https:\/\/blog.csdn.net\/YZC1078\/article\/details\/87639327<\/a><\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"%E7%9B%B8%E5%85%B3%E7%AC%AC%E4%B8%89%E6%96%B9%E6%A8%A1%E5%9D%97%E7%BC%96%E8%AF%91%E4%B8%8E%E5%8A%A0%E8%BD%BD\"><\/span>\u76f8\u5173\u7b2c\u4e09\u65b9\u6a21\u5757\u7f16\u8bd1\u4e0e\u52a0\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>pcre\u6a21\u5757 (\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5757)<br \/>\n\u4e0b\u8f7d\uff1a<a href=\"https:\/\/github.com\/PCRE2Project\/pcre2\/releases\">https:\/\/github.com\/PCRE2Project\/pcre2\/releases<\/a><\/p>\n<pre><code class=\"language-bash\">.\/configure --host=aarch64-linux CC=<code>which aarch64-linux-gnu-gcc<\/code>  CXX=<code>which aarch64-linux-gnu-g++<\/code><\/code><\/pre>\n<p>\u91c7\u7528make install\uff0c\u9ed8\u8ba4pcre\u7f16\u8bd1\u540e\u7684so\u5e93\u4f1a\u5b89\u88c5\u5230<code>\/usr\/local\/lib<\/code>,\u5728\u7f16\u8bd1nginx\u65f6<code>.\/configure --with-pcre<\/code>\u4f1a\u81ea\u52a8\u5bfb\u627e\u5230pcre\u5e93\u3002<\/p>\n<\/li>\n<\/ul>\n<button class=\"simplefavorite-button\" data-postid=\"10732\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u6e90\u7801\u4e0b\u8f7d\u4ea4\u53c9\u7f16\u8bd1\u7f16\u8bd1\u4e2d\u62a5\u9519\u76f8\u5173\u7b2c\u4e09\u65b9\u6a21\u5757\u7f16\u8bd1\u4e0e\u52a0\u8f7d \u6e90\u7801\u4e0b\u8f7d https:\/\/nginx.or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[362],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/10732"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10732"}],"version-history":[{"count":6,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/10732\/revisions"}],"predecessor-version":[{"id":10768,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/10732\/revisions\/10768"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10732"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}