{"id":2485,"date":"2019-05-28T15:59:54","date_gmt":"2019-05-28T07:59:54","guid":{"rendered":"http:\/\/www.51cos.com\/?p=2485"},"modified":"2019-05-28T16:04:18","modified_gmt":"2019-05-28T08:04:18","slug":"%e8%a3%81%e5%89%aalibiconv%e5%ba%93","status":"publish","type":"post","link":"http:\/\/www.51cos.com\/?p=2485","title":{"rendered":"\u88c1\u526alibiconv\u5e93\u4ece1MB\u7cbe\u7b80\u52300.2MB"},"content":{"rendered":"<p>libiconv\u5b98\u65b9\u6e90\u7801\uff1ahttps:\/\/ftp.gnu.org\/pub\/gnu\/libiconv\/<\/p>\n<p>\u53c2\u80031\uff1ahttp:\/\/bbs.chinaunix.net\/thread-3775808-1-1.html<\/p>\n<p>\u88c1\u526alibiconv\uff0c\u9879\u76ee\u91cc\u9762\u53ea\u9700\u8981UTF8\u4e0eGB2312\u7684\u8f6c\u6362\u3002<br \/>\n1.\u4e0b\u8f7d\u6e90\u4ee3\u7801\u7f16\u8bd1\uff0c\u7f16\u5199\u6d4b\u8bd5\u4ee3\u7801\uff0cgdb\u8c03\u8bd5\uff0c\u67e5\u770bUTF8\u548cGB2312\u8f6c\u6362\u8c03\u7528\u7684\u51fd\u6570\uff0c\u5206\u522b\u662fxxx_wctomb\u548cxxx_mbtowc(\u6587\u4ef6\u5c31\u662futf8.h\/euc_cn.h),aliases.gperf\u6587\u4ef6\u91cc\u9762\u6709\u5b9a\u4e49UTF-8, ei_utf8\u548cGB2312, ei_euc_cn\u3002<br \/>\n2\uff0eencoding.def\u6587\u4ef6\u8fdb\u884c\u4fee\u6539\uff0c\u6700\u540e\u53ea\u5269\u4e0b\uff1a<\/p>\n<p> DEFENCODING(( &#8220;US-ASCII&#8221;,               \/* IANA *\/<br \/>\n              &#8220;ASCII&#8221;,                  \/* IANA, JDK 1.1 *\/<br \/>\n              &#8220;ISO646-US&#8221;,              \/* IANA *\/<br \/>\n              &#8220;ISO_646.IRV:1991&#8221;,       \/* IANA *\/<br \/>\n              &#8220;ISO-IR-6&#8221;,               \/* IANA *\/<br \/>\n              &#8220;ANSI_X3.4-1968&#8221;,         \/* IANA *\/<br \/>\n              &#8220;ANSI_X3.4-1986&#8221;,         \/* IANA *\/<br \/>\n              &#8220;CP367&#8221;,                  \/* IANA *\/<br \/>\n              &#8220;IBM367&#8221;,                 \/* IANA *\/<br \/>\n              &#8220;US&#8221;,                     \/* IANA *\/<br \/>\n              &#8220;csASCII&#8221;,                \/* IANA *\/<br \/>\n            \/*&#8221;ISO646.1991-IRV&#8221;,           X11R6.4 *\/<br \/>\n            ),<br \/>\n            ascii,<br \/>\n            { ascii_mbtowc, NULL },       { ascii_wctomb, NULL })<\/p>\n<p>\/* General multi-byte encodings *\/<\/p>\n<p>DEFENCODING(( &#8220;UTF-8&#8243;,                  \/* IANA, RFC 2279 *\/<br \/>\n            \/*&#8221;UTF8&#8243;,                      JDK 1.1 *\/<br \/>\n            \/*&#8221;CP65001&#8221;,                   Windows *\/<br \/>\n            ),<br \/>\n            utf8,<br \/>\n            { utf8_mbtowc, NULL },        { utf8_wctomb, NULL })<\/p>\n<p>DEFENCODING(( &#8220;GB_2312-80&#8221;,             \/* IANA *\/<br \/>\n              &#8220;ISO-IR-58&#8221;,              \/* IANA *\/<br \/>\n              &#8220;csISO58GB231280&#8221;,        \/* IANA *\/<br \/>\n              &#8220;CHINESE&#8221;,                \/* IANA *\/<br \/>\n            \/*&#8221;GB2312.1980-0&#8243;,             X11R6.4 *\/<br \/>\n            ),<br \/>\n            gb2312,<br \/>\n            { gb2312_mbtowc, NULL },      { gb2312_wctomb, NULL })<\/p>\n<p>DEFENCODING(( &#8220;EUC-CN&#8221;,                 \/* glibc *\/<br \/>\n              &#8220;EUCCN&#8221;,                  \/* glibc, IRIX *\/<br \/>\n              &#8220;GB2312&#8221;,                 \/* IANA *\/<br \/>\n              &#8220;CN-GB&#8221;,                  \/* RFC 1922 *\/<br \/>\n              &#8220;csGB2312&#8243;,               \/* IANA *\/<br \/>\n            \/*&#8221;EUC_CN&#8221;,                    JDK 1.1 *\/<br \/>\n            \/*&#8221;CP51936&#8243;,                   Windows *\/<br \/>\n            ),<br \/>\n            euc_cn,<br \/>\n            { euc_cn_mbtowc, NULL },      { euc_cn_wctomb, NULL })<\/p>\n<p>3.\u7136\u540e\u5bf9aliases.h\u8fdb\u884c\u4fee\u6539,\u5220\u9664\u6ca1\u6709\u7528\u7684\u7f16\u7801\u3002<\/p>\n<p> struct stringpool_t<br \/>\n  {<br \/>\n    char stringpool_str117[sizeof(&#8220;CHINESE&#8221;)];<br \/>\n    char stringpool_str120[sizeof(&#8220;ASCII&#8221;)];<br \/>\n    char stringpool_str165[sizeof(&#8220;GB2312&#8221;)];<br \/>\n    char stringpool_str255[sizeof(&#8220;UTF-8&#8221;)];<br \/>\n  };<br \/>\nstatic const struct stringpool_t stringpool_contents =<br \/>\n  {<br \/>\n    &#8220;CHINESE&#8221;,<br \/>\n    &#8220;ASCII&#8221;,<br \/>\n    &#8220;GB2312&#8221;,<br \/>\n    &#8220;UTF-8&#8221;,<br \/>\n  };<br \/>\n\/* \u4e0e\u4e0a\u9762\u7684struct stringpool_t\u5bf9\u5e94\u8d77\u6765 *\/<br \/>\nstatic const struct alias aliases[] =<br \/>\n  {<br \/>\n#line 14 &#8220;lib\/aliases.gperf&#8221; \/* \u4e0egperf\u6587\u4ef6\u4e2d\u7684\u884c\u53f7\u5bf9\u5e94\u8d77\u6765*\/<br \/>\n    {(int)(long)&amp;((struct stringpool_t *)0)-&gt;stringpool_str117, ei_gb2312},<br \/>\n#line 12 &#8220;lib\/aliases.gperf&#8221;<br \/>\n    {(int)(long)&amp;((struct stringpool_t *)0)-&gt;stringpool_str120, ei_ascii},<br \/>\n#line 15 &#8220;lib\/aliases.gperf&#8221;<br \/>\n    {(int)(long)&amp;((struct stringpool_t *)0)-&gt;stringpool_str165, ei_euc_cn},<br \/>\n#line 13 &#8220;lib\/aliases.gperf&#8221;<br \/>\n    {(int)(long)&amp;((struct stringpool_t *)0)-&gt;stringpool_str255, ei_utf8},<br \/>\n  };<\/p>\n<p>\/*\u4fee\u6539\u4e3a\u53ea\u652f\u6301UTF8\u548cGB2312\uff0c\u4e0d\u7528\u5728\u67e5\u627e\uff0c\u53ef\u4ee5\u5220\u9664\u591a\u4f59\u7684\u4ee3\u7801*\/<br \/>\nconst struct alias *<br \/>\naliases_lookup (register const char *str, register unsigned int len)<br \/>\n{<br \/>\n  if (!strcmp(str, &#8220;UTF-8&#8221;))<br \/>\n    return &amp;aliases[3];<br \/>\n  else if (!strcmp(str, &#8220;GB2312&#8221;))<br \/>\n    return &amp;aliases[2];<br \/>\n  return 0;<br \/>\n}  <\/p>\n<p>4\uff0e\u4fee\u6539aliases. gperf\uff0c\u5220\u9664\u5927\u90e8\u5206\u7f16\u7801\uff0c\u53ea\u5269\u4e0b\u4f60\u9700\u8981\u7684\u7f16\u7801\u7c7b\u578b\u3002<\/p>\n<p> struct alias { int name; unsigned int encoding_index; };<br \/>\n%struct-type<br \/>\n%language=ANSI-C<br \/>\n%define hash-function-name aliases_hash<br \/>\n%define lookup-function-name aliases_lookup<br \/>\n%7bit<br \/>\n%readonly-tables<br \/>\n%global-table<br \/>\n%define word-array-name aliases<br \/>\n%pic<br \/>\n%%<br \/>\nASCII, ei_ascii<br \/>\nUTF-8, ei_utf8<br \/>\nCHINESE, ei_gb2312<br \/>\nGB2312, ei_euc_cn  <\/p>\n<p>5.\u7136\u540e\u518dmake\uff0c\u4f1a\u6709\u51e0\u4e2a\u6587\u4ef6\u62a5\u9519\uff08canonical.h\u7b49\uff09\uff0c\u5bf9\u62a5\u9519\u7684\u5730\u65b9\u8fdb\u884c\u5c4f\u853d\uff0c\u5177\u4f53\u770b\u4e0a\u4f20\u5df2\u88c1\u51cf\u7684libiconv\u6e90\u4ee3\u7801\u5305\uff1a<\/p>\n<p><a href=\"http:\/\/www.51cos.com\/wp-content\/uploads\/2019\/05\/2019052807511566.gz\">2019052807511566<\/a><\/p>\n<p>\u4fee\u6539\u4e86lib\u6587\u4ef6\u5939\u4e0b\u7684\u8fd9\u51e0\u4e2a\u6587\u4ef6\uff1aloop_unicode.h \uff0c  iconv_open1.h \uff0c  canonical_local.h \uff0c  iconv.c \uff0caliases.gperf  \uff0cencodings.def \uff0c aliases.h\uff0c canonical.h\u3002<\/p>\n<p>\u53c2\u80032\uff1ahttps:\/\/blog.csdn.net\/houxn22\/article\/details\/39396983?utm_source=blogxgwz3<\/p>\n<p>  \u00a0 \u4ece\u7f51\u4e0a\u4e0b\u8f7d\u4e86libiconv-1.14\uff0c\u7f16\u8bd1\u540e\u53d1\u73b0\u751f\u6210\u7684\u5e93\u6587\u4ef6\u67091.2M\u4e4b\u591a\uff0c\u611f\u89c9\u592a\u5927\u4e86\uff0c\u81ea\u5df1\u8ba4\u4e3a\u5728\u5e93\u4e2d\u6570\u636e\u5360\u5f88\u5927\u90e8\u5206\uff0c\u56e0\u4e3aiconv\u652f\u6301\u4e16\u754c\u4e0a\u51e0\u4e4e\u6240\u6709\u5e38\u89c1\u8bed\u8a00\u7684\u7f16\u7801\u8f6c\u6362\uff0c\u4f46\u662f\u6211\u53ea\u9700\u8981UTF-8\u8f6c\u6362\u4e3aGB2312\uff0c\u6240\u4ee5\u6709\u5fc5\u8981\u88c1\u526a\u4e00\u4e0b\u3002<\/p>\n<p>\u00a0 \u00a0 \u5728\u5bf9libiconv-1.14\u88c1\u526a\u65f6\u9047\u5230\u4e86\u5f88\u591a\u9519\u8bef\uff0c\u7279\u522b\u662fcanonical.h\u7684\u4e00\u5927\u4e32\u9519\u8bef\uff0c\u611f\u89c9canonical.h\u662f\u7531\u5176\u5b83\u5730\u65b9\u751f\u6210\u7684\u6587\u4ef6\uff0c\u4e0d\u592a\u597d\u89e3\u51b3\uff0c\u4e8e\u662f\u51b3\u5b9a\u4e0b\u8f7d\u4e2a\u4f4e\u7248\u672c\u7684libiconv\u8bd5\u8bd5\uff0c\u7ed3\u679c\u8fd8\u771f\u6210\u529f\u4e86\uff0c\u4e0b\u9762\u5199\u4e00\u4e0b\u81ea\u5df1\u88c1\u526a\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>1. \u4eceGNU\u7f51\u7ad9\u4e0b\u8f7dlibiconv-1.8.tar.gz\u00a0(http:\/\/ftp.gnu.org\/pub\/gnu\/libiconv\/libiconv-1.8.tar.gz \u6216\u8005 \u4ea4\u5927\u5f00\u6e90\u955c\u50cfhttp:\/\/mirror.bjtu.edu.cn\/gnu\/libiconv\/libiconv-1.8.tar.gz)<\/p>\n<p>2. \u4e0b\u8f7d\u540e\u89e3\u538b\u7f29\uff0c\u8fdb\u5165libiconv-1.8\u76ee\u5f55\u3002<\/p>\n<p>\u00a0 \u00a0\u00a0cd\u00a0libiconv-1.8<\/p>\n<p>\u00a0 \u00a0 \u65b0\u5efa\u4e00\u4e2a\u76ee\u5f55\u4f5c\u4e3a\u5b89\u88c5\u8def\u5f84:\u00a0 \u00a0\u00a0<\/p>\n<p>\u00a0 \u00a0 mkdir iconv<\/p>\n<p>3.\u4fee\u6539\u6e90\u6587\u4ef6\u3002<\/p>\n<p>\u00a0 \u00a0 \u9700\u8981\u4fee\u6539\u7684\u6587\u4ef6\u53ea\u6709\u4e24\u4e2a\uff0c\u90fd\u5728lib\u76ee\u5f55\u4e0b\uff0c\u4e00\u4e2a\u4e3aaliases.gperf\uff0c\u53e6\u4e00\u4e2a\u4e3aencodings.def\u3002<\/p>\n<p>\u00a0 \u00a0 \u9996\u5148\u6253\u5f00aliases.gperf\uff0c\u81ea\u4e0a\u5230\u4e0b\uff0c\u76f4\u5230CSISOLATIN1, ei_iso8859_1\u8fd9\u4e00\u884c\uff0c\u8fd9\u4e9b\u662f\u9700\u8981\u4fdd\u7559\u7684\uff0c\u7136\u540e\u5269\u4e0b\u7684\u5c31\u53ef\u4ee5\u81ea\u7531\u88c1\u51cf\u4e86\u3002<\/p>\n<p>\u00a0 \u00a0 \u7531\u4e8e\u6211\u53ea\u9700\u8981GB2312\uff0c\u6240\u4ee5\u540e\u9762\u7684\u90e8\u5206\u6211\u53ea\u4fdd\u7559\u4e86\u4e0b\u9762\u51e0\u884c\uff1a<\/p>\n<p>EUC-CN, ei_euc_cn<br \/>\nEUCCN, ei_euc_cn<br \/>\nGB2312, ei_euc_cn<br \/>\nCN-GB, ei_euc_cn<br \/>\nCSGB2312, ei_euc_cn<br \/>\n\u5176\u4ed6\u7684\u884c\u5168\u90e8\u5220\u6389\u4e86\uff0c\u7136\u540e\u4fdd\u5b58\uff0c\u4fee\u6539\u540e\u7684aliases.gperf\u6587\u4ef6\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<p>struct alias { const char* name; unsigned int encoding_index; };<br \/>\n%%<br \/>\nUS-ASCII, ei_ascii<br \/>\nASCII, ei_ascii<br \/>\nISO646-US, ei_ascii<br \/>\nISO_646.IRV:1991, ei_ascii<br \/>\nISO-IR-6, ei_ascii<br \/>\nANSI_X3.4-1968, ei_ascii<br \/>\nANSI_X3.4-1986, ei_ascii<br \/>\nCP367, ei_ascii<br \/>\nIBM367, ei_ascii<br \/>\nUS, ei_ascii<br \/>\nCSASCII, ei_ascii<br \/>\nUTF-8, ei_utf8<br \/>\nUCS-2, ei_ucs2<br \/>\nISO-10646-UCS-2, ei_ucs2<br \/>\nCSUNICODE, ei_ucs2<br \/>\nUCS-2BE, ei_ucs2be<br \/>\nUNICODEBIG, ei_ucs2be<br \/>\nUNICODE-1-1, ei_ucs2be<br \/>\nCSUNICODE11, ei_ucs2be<br \/>\nUCS-2LE, ei_ucs2le<br \/>\nUNICODELITTLE, ei_ucs2le<br \/>\nUCS-4, ei_ucs4<br \/>\nISO-10646-UCS-4, ei_ucs4<br \/>\nCSUCS4, ei_ucs4<br \/>\nUCS-4BE, ei_ucs4be<br \/>\nUCS-4LE, ei_ucs4le<br \/>\nUTF-16, ei_utf16<br \/>\nUTF-16BE, ei_utf16be<br \/>\nUTF-16LE, ei_utf16le<br \/>\nUTF-32, ei_utf32<br \/>\nUTF-32BE, ei_utf32be<br \/>\nUTF-32LE, ei_utf32le<br \/>\nUTF-7, ei_utf7<br \/>\nUNICODE-1-1-UTF-7, ei_utf7<br \/>\nCSUNICODE11UTF7, ei_utf7<br \/>\nUCS-2-INTERNAL, ei_ucs2internal<br \/>\nUCS-2-SWAPPED, ei_ucs2swapped<br \/>\nUCS-4-INTERNAL, ei_ucs4internal<br \/>\nUCS-4-SWAPPED, ei_ucs4swapped<br \/>\nC99, ei_c99<br \/>\nJAVA, ei_java<br \/>\nISO-8859-1, ei_iso8859_1<br \/>\nISO_8859-1, ei_iso8859_1<br \/>\nISO_8859-1:1987, ei_iso8859_1<br \/>\nISO-IR-100, ei_iso8859_1<br \/>\nCP819, ei_iso8859_1<br \/>\nIBM819, ei_iso8859_1<br \/>\nLATIN1, ei_iso8859_1<br \/>\nL1, ei_iso8859_1<br \/>\nCSISOLATIN1, ei_iso8859_1<br \/>\nEUC-CN, ei_euc_cn<br \/>\nEUCCN, ei_euc_cn<br \/>\nGB2312, ei_euc_cn<br \/>\nCN-GB, ei_euc_cn<br \/>\nCSGB2312, ei_euc_cn<\/p>\n<p>\u00a0 \u00a0 \u4e0b\u9762\u4fee\u6539encodings.def\uff0c\u8fd9\u4e2a\u6839\u636e\u521a\u624d\u4fee\u6539\u7684aliases.gperf\u6765\u4fee\u6539\u3002\u81ea\u4e0a\u800c\u4e0b\uff0c\u76f4\u5230\u00a0\u00a0<\/p>\n<p>DEFENCODING(( &#8220;ISO-8859-1&#8221;,             \/* IANA *\/<br \/>\n              &#8220;ISO_8859-1&#8221;,             \/* IANA *\/<br \/>\n              &#8220;ISO_8859-1:1987&#8221;,        \/* IANA *\/<br \/>\n              &#8220;ISO-IR-100&#8221;,             \/* IANA *\/<br \/>\n              &#8220;CP819&#8221;,                  \/* IANA *\/<br \/>\n              &#8220;IBM819&#8221;,                 \/* IANA *\/<br \/>\n              &#8220;LATIN1&#8221;,                 \/* IANA *\/<br \/>\n              &#8220;L1&#8221;,                     \/* IANA *\/<br \/>\n              &#8220;csISOLatin1&#8243;,            \/* IANA *\/<br \/>\n            \/*&#8221;ISO8859-1&#8243;,                 X11R6.4, glibc *\/<br \/>\n            \/*&#8221;ISO8859_1&#8221;,                 JDK 1.1 *\/<br \/>\n            ),<br \/>\n            iso8859_1,<br \/>\n            { iso8859_1_mbtowc, NULL },   { iso8859_1_wctomb, NULL })<br \/>\n\u00a0 \u00a0 \u8fd9\u4e00\u90e8\u5206\uff0c\u4e0a\u9762\u6240\u6709\u7684\u662f\u9700\u8981\u4fdd\u7559\u7684(\u5305\u62ec\u8fd9\u4e00\u90e8\u5206)\u3002\u540e\u9762\u518d\u4fdd\u7559\uff1a<\/p>\n<p>DEFENCODING(( &#8220;EUC-CN&#8221;,                 \/* glibc *\/<br \/>\n              &#8220;EUCCN&#8221;,                  \/* glibc *\/<br \/>\n              &#8220;GB2312&#8221;,                 \/* IANA *\/<br \/>\n              &#8220;CN-GB&#8221;,                  \/* RFC 1922 *\/<br \/>\n              &#8220;csGB2312&#8243;,               \/* IANA *\/<br \/>\n            \/*&#8221;EUC_CN&#8221;,                    JDK 1.1 *\/<br \/>\n            ),<br \/>\n            euc_cn,<br \/>\n            { euc_cn_mbtowc, NULL },      { euc_cn_wctomb, NULL })<br \/>\n\u00a0 \u00a0\u8fd9\u4e2a\u662f\u5173\u4e8eGB2312\u7f16\u7801\u7684\u3002\u5269\u4f59\u7684\u90e8\u5206\u53ef\u4ee5\u5168\u90e8\u5220\u9664\u4e86\uff0c\u8fd9\u4e0ealiases.gperf\u5bf9\u5e94\u8d77\u6765\u4e86\u3002<\/p>\n<p>4. \u7531aliases.gperf\u91cd\u65b0\u751f\u6210aliases.h\u3002<\/p>\n<p>\u00a0 \u00a0\u00a0aliases.gperf\u6587\u4ef6\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u751f\u6210aliases.h\u3002\u6253\u5f00aliases.h,\u53d1\u73b0\u524d\u9762\u51e0\u884c\u6709\u4e9b\u6ce8\u91ca\uff1a<\/p>\n<p>\u00a0 \u00a0\u00a0\/* ANSI-C code produced by gperf version 3.0.3 *\/<br \/>\n\u00a0 \u00a0 \/* Command-line: gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -G -W aliases -7 -C -k &#8216;1,3-11,<span class=\"katex math inline\">&#8216; -i 1 aliases.gperf \u00a0*\/<\/p>\n<p>\u00a0 \u00a0\u770b\u5230\u4e86\u751f\u6210aliases.h\u7684\u547d\u4ee4\u884c\uff0c\u4e8e\u662f\u5728lib\u76ee\u5f55\u4e0b\uff0c\u6267\u884c\uff1a<\/p>\n<p>\u00a0 \u00a0\u00a0gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -G -W aliases -7 -C -k &#8216;1,3-11,<\/span>&#8216; -i 1 aliases.gperf &gt;\u00a0aliases.h<\/p>\n<p>\u00a0 \u00a0 \u4fbf\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>3. \u914d\u7f6e\uff0c\u7f16\u8bd1<\/p>\n<p>\u00a0 \u00a0 \u8fdb\u5165libiconv-1.81\u7684\u6839\u76ee\u5f55\uff0c\u6267\u884c<\/p>\n<p>\u00a0 \u00a0\u00a0.\/configure CC=powerpc-linux-gcc &#8211;target=powerpc-linux &#8211;host=powerpc-linux &#8211;enable-shared=yes &#8211;enable-static=yes &#8211;prefix=\/opt\/externel\/libiconv-1.8\/iconv<\/p>\n<p>\u00a0 \u00a0 \u914d\u7f6e\u5b8c\u6210\u540e\uff0cmake;make install\u4fbf\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u6700\u540e\u5728iconv\/lib\u76ee\u5f55\u4e0b\u751f\u6210\u4e86\u6211\u6240\u9700\u8981\u7684\u52a8\u6001\u5e93\u548c\u9759\u6001\u5e93\uff08libiconv.so.2.1.0\u548clibiconv.a\uff09\u3002<\/p>\n<p>\u6ca1\u6709\u7cbe\u7b80\u4e4b\u524d\uff0c\u751f\u6210\u7684libiconv.so.2.1.0\u67091.1M\uff0c\u7cbe\u7b80\u540e\u53ea\u6709220K\u3002<\/p>\n<p>\u6ce8:\u4e0a\u9762\u914d\u7f6e\u8fc7\u7a0b\u4e2d\uff0c&#8211;enable-static=yes\u662f\u4e3a\u4e86\u751f\u6210\u9759\u6001\u5e93libiconv.a\uff0c\u8fd9\u6837\u6211\u5728\u7f16\u8bd1\u81ea\u5df1\u7684\u7a0b\u5e8f\u65f6\u53ef\u4ee5\u9759\u6001\u94fe\u63a5libiconv.a\uff0c\u628a\u4ee3\u7801\u7f16\u8bd1\u5230\u81ea\u5df1\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u4e2d\uff0c\u5c31\u4e0d\u518d\u9700\u8981\u5728\u8fd0\u884c\u65f6\u94fe\u63a5libiconv.so.2.1.0\u5e93\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>libiconv\u5b98\u65b9\u6e90\u7801\uff1ahttps:\/\/ftp.gnu.org\/pub\/gnu\/libiconv\/ \u53c2\u80031\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2485","post","type-post","status-publish","format-standard","hentry","category-embedded"],"_links":{"self":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2485"}],"version-history":[{"count":2,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2485\/revisions"}],"predecessor-version":[{"id":2488,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/2485\/revisions\/2488"}],"wp:attachment":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2485"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}