{"id":183,"date":"2005-01-31T09:14:59","date_gmt":"2005-01-31T01:14:59","guid":{"rendered":"http:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=183"},"modified":"2005-01-31T09:16:32","modified_gmt":"2005-01-31T01:16:32","slug":"libintlc-not-found","status":"publish","type":"post","link":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=183","title":{"rendered":"libintl.c not found"},"content":{"rendered":"<p>Student \u4e3b\u6a5f\u6211\u5df2\u7d93\u91cd\u65b0\u5efa\u7acb\u597d Mail Server (SMTP) \u4e86\uff0c\u5176\u4ed6\u7684\u6771\u897f\u6b63\u4e00\u9ede\u4e00\u9ede\u91cd\u5efa\u7576\u4e2d\u3002<br \/>\nApache2 \u5b89\u88dd\u7684\u6642\u5019\u51fa\u73fe\u554f\u984c\uff0c\u662f\u56e0\u70ba gettext \u7684 libintl \u627e\u4e0d\u5230\u3002<\/p>\n<p>\u7db2\u8def\u4e0a\u7684\u89e3\u662f\u9019\u6a23\uff1a<\/p>\n<p><!--more--><\/p>\n<p>\u5b89\u88c5 ports \u51fa\u73b0 Shared object libintl.so.X not found \u7684\u9519\u8bef\u8baf\u606f <\/p>\n<p>Shared object &#8220;libintl.so.4&#8221; \u6216 (libc.so.4) not found <\/p>\n<p>\u554f\u984c\u6558\u8ff0:<br \/>\n\u8fd1\u4f86\u7684FreeBSD\u7248\u672c,\u5e38\u5e38\u5728\u5b89\u88dd\u67d0\u4e9b\u8edf\u9ad4\u6642,\u6703\u51fa\u73fe\u985e\u4f3c\u7684\u5931\u6557\u756b\u9762<br \/>\n\u4e26\u4e14\u544a\u8a34\u4f60\u7f3a\u4e4f libintl.so.4\u6216\u662f libc.so.4 \u9019\u500b\u51fd\u5f0f. <\/p>\n<p>Shared object &#8220;libc.so.4&#8221; not found<br \/>\n\u5982\u4e0b\u5716:\u662f\u8fd1\u4f86\u7248\u672c\u5b89\u88dd\u67d0\u4e9b\u7a0b\u5f0f\u554f\u984c\u6642\u5e38\u898b\u7684\u554f\u984c,\u7f3a\u5c11 libc.so.4 \u51fd\u5f0f. <\/p>\n<p>\u554f\u984c\u5206\u6790:<br \/>\n\u63d0\u5230libc.so\u51fd\u5f0f \u9996\u5148\u60f3\u5230\u7684\u662f\u8207 linux \u7a0b\u5f0f\u76f8\u95dc\u5171\u4eab\u51fd\u5f0f\u5eab.<br \/>\nFreeBSD\u5728\u8b80\u53d6\u76f8\u95dc\u51fd\u5f0f\u524d,\u9996\u5148\u6703\u5728 \/compat\/linux \u8cc7\u6599\u593e\u4e2d\u5c0b\u627e;<br \/>\n\u7136\u5f8c\u82e5\u627e\u4e0d\u5230\u5247\u6703\u5617\u8a66\u641c\u5c0b \/lib \u8cc7\u6599\u593e. <\/p>\n<p>\u4ee5 libc.so \u51fd\u5f0f\u70ba\u4f8b,\u6703\u5148\u5c0b\u627e\/compat\/linux\/lib\/libc.so ;<br \/>\n\u5176\u6b21\u624d\u662f\/lib\/libc.so . <\/p>\n<p>\u7c21\u55ae\u7684\u89e3\u6c7a\u65b9\u5f0f: <\/p>\n<p>Shared object &#8220;libintl.so.4&#8243; not found<br \/>\n\u8ddf libc.so \u51fd\u5f0f\u4e00\u6a23 \u4e5f\u662f\u5728\u5b89\u88dd\u67d0\u4e9b\u8edf\u9ad4\u5c31\u6703\u51fa\u73fe\u932f\u8aa4\u756b\u9762. <\/p>\n<p>\u554f\u984c\u5206\u6790:<br \/>\nlibintl.so \u51fd\u5f0f\u662f\u5b89\u88dd \/usr\/port\/devel\/gettext\/ \u7a0b\u5f0f\u5f8c\u53d6\u5f97.<br \/>\n\u7406\u8ad6\u4e0a\u4f86\u8aaa \u76ee\u524d\u7248\u672c\u7684\u76f8\u95dc\u51fd\u6578\u662f libintl.so.5 \u70ba\u4f55\u9084\u8981\u53bb\u8b80\u53d6\u820a\u7684 libintl.so.4 \u7248\u672c. <\/p>\n<p>\u7576\u4f60\u5728\u5b89\u88ddgmake\u6642,gmake\u6703\u53bb\u9023\u7d50\u5b89\u88ddgmake\u7576\u6642\u7684libinl.so\u7684\u7248\u672c,\u662fversion 4.<br \/>\n\u4e5f\u5c31\u662f libintl.so.4 <\/p>\n<p>\u7576\u4f60\u66f4\u65b0\u904e\u76f8\u95dc\u7684ports (devel\/gettext) \u5c07\u6703\u7528 libintl.so.5 \u53d6\u4ee3 libintl.so.4<br \/>\n\u9664\u975e\u4f60\u80fd\u53d6\u5f97\u5148\u524d\u67d0\u4e9b\u7cfb\u7d71\u4fdd\u7559\u820a\u6709\u7684 libintl.so.4 \u5426\u5247\u5c31\u6703\u51fa\u73fe\u5b89\u88dd\u5931\u6557<br \/>\n\u72c0\u6cc1. <\/p>\n<p>\u5f88\u53ef\u60dc\u7684\u662f&#8230;\u6709\u5f88\u591a\u7a0b\u5f0f\u9700\u8981 gettext \u51fd\u5f0f.<br \/>\n\u4f60\u53ef\u4ee5\u7528 cd \/usr\/ports\/ ; make search key=&#8221;gettext&#8221; | more \u67e5\u8a62<br \/>\n\u70ba\u4ec0\u9ebc\u8981\u52a0\u4e0amore \u56e0\u70ba\u592a\u591a\u6015\u4f60\u770b\u5230\u660f\u982d&#8230;QQ <\/p>\n<p>\u554f\u984c\u89e3\u6c7a:<br \/>\n\u8981\u89e3\u6c7a\u9019\u500b\u554f\u984c \u4f60\u53ef\u4ee5\u900f\u904e\u91cd\u65b0\u5efa\u7acb\u6240\u6709\u8207 gettext \u76f8\u95dc\u7684ports\u7a0b\u5f0f. <\/p>\n<p># portupgrade -fr gettext<br \/>\n\u91cd\u65b0\u5efa\u7acb\u6216\u91cd\u65b0\u5b89\u88dd\u6240\u6709\u8207 gettext\u76f8\u95dc\u9023\u7684\u7a0b\u5f0f,<br \/>\n\u82e5\u4f60\u5fd8\u6389\u4e86 \u8acb\u53c3\u95b1 \u66f4\u65b0ports\/\u5347\u7d1a\u7cfb\u7d71 > portupgrade \u8edf\u9ad4\u66f4\u65b0 <\/p>\n<p>\u6216\u662f\u7c21\u55ae\u7684\u7528\u5077\u5403\u6b65 \u628a*\u76ee\u524d\u7248\u672c*link\u904e\u53bb..QQ (\u7248\u672c6..\u985e\u63a8) <\/p>\n<p>\u7136\u5f8c\u5c31\u53ef\u4ee5\u9806\u5229\u9032\u884c\u7a0b\u5f0f\u5b89\u88dd.  <\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fcbkbttn_like \"><fb:like href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=183\" action=\"like\" colorscheme=\"light\" layout=\"standard\" show-faces='false' width=\"450px\" size=\"small\"><\/fb:like><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Student \u4e3b\u6a5f\u6211\u5df2\u7d93\u91cd\u65b0\u5efa\u7acb\u597d Mail Server (SMTP) \u4e86\uff0c &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=183\"> <span class=\"screen-reader-text\">libintl.c not found<\/span> \u95b1\u8b80\u66f4\u591a &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/183"}],"collection":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":0,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}