{"id":429,"date":"2013-03-22T20:08:46","date_gmt":"2013-03-22T11:08:46","guid":{"rendered":"http:\/\/blog.tanitanin.net\/?p=429"},"modified":"2013-03-22T20:12:35","modified_gmt":"2013-03-22T11:12:35","slug":"rvm%e3%81%abruby1-9-3%e3%81%a8mecab-ruby%e3%82%92%e5%85%a5%e3%82%8c%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/blog.tanitanin.net\/?p=429","title":{"rendered":"RVM\u306bruby1.9.3\u3068mecab-ruby\u3092\u5165\u308c\u305f\u3068\u304d\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>\u3055\u304f\u3089VPS\u3067ruby2.0.0\u3084\u3089\u3092\u5171\u5b58\u3055\u305b\u308b\u305f\u3081\u306bRVM\u3092\u4f7f\u3063\u3066\u3044\u308b\u3051\u3069\uff0c1.9.3-p392\u3092\u5165\u308c\u308b\u3068\u304d\u306b\u3064\u307e\u3065\u3044\u305f\u308a\uff0cMeCab\u306eruby\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u5165\u308c\u308b\u306e\u306b\u3064\u307e\u3065\u3044\u305f\u306e\u3067\u30e1\u30e2\uff0e<\/p>\n<p>rvm\u306bruby-1.9.3-p392\u3092\u5165\u308c\u3088\u3046\u3068\u3057\u3066\u51fa\u305f\u30a8\u30e9\u30fc<\/p>\n<pre language=\"bash\">\r\nError running 'make', please read ~\/.rvm\/log\/ruby-1.9.3-p392\/make.log\r\n<\/pre>\n<p>make\u306e\u5b9f\u884c\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3063\u305f\uff0e<\/p>\n<p>\u5bfe\u51e6\u6cd5\uff1a<br \/>\n<a href=\"https:\/\/rvm.io\/packages\/iconv\/\" title=\"rvm help # Documentation Index \" target=\"_blank\">rvm help<\/a><\/p>\n<p>\/usr\/local\u306b\u3042\u308b\u3082\u3068\u3082\u3068yum\u3067\u5165\u308c\u305ficonv\u3092\u53c2\u7167\u3057\u3066\u308b\u306e\u304c\u30c0\u30e1\u3060\u3063\u305f\u3089\u3057\u304f\uff0c$rvm_path\u4e0b\u306b\u3042\u308biconv\u3092\u6307\u5b9a\u3057\u3066\u3084\u3063\u305f\u3089\u3046\u307e\u304f\u3044\u3063\u305f\uff0e<\/p>\n<pre language=\"bash\">\r\n$ rvm --skip-autoreconf pkg install iconv\r\n$ rvm reinstall 1.9.3 --with-iconv-dir=$rvm_path\/usr\r\n<\/pre>\n<p>mecab-ruby-0.996\u3092\u5165\u308c\u308b\u3068\u304d\u306b\u51fa\u305f\u30a8\u30e9\u30fc<\/p>\n<pre language=\"bash\">\r\n# ruby test.rb\r\nruby: symbol lookup error: ~\/.rvm\/rubies\/ruby-1.9.3-p392\/lib\/ruby\/site_ruby\/1.9.1\/x86_64-linux\/MeCab.so: undefined symbol: _ZN5MeCab11createModelEPKc\r\n<\/pre>\n<p>\u30b7\u30f3\u30dc\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u30fb\u30fb\u30fb<\/p>\n<p>\u5bfe\u51e6\u6cd5\uff1a<br \/>\n<a href=\"http:\/\/usrbinruby.net\/ruby-devel\/2009-07\/msg00016.html\" target=\"_blank\">FreeBSD \u3067 ruby-mecab \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u53c2\u7167\u306e\u4e0d\u5177\u5408<\/a><br \/>\n<a href=\"http:\/\/d.hatena.ne.jp\/mingos\/20080703\/1215057475\" title=\"mecab-ruby\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306btest.rb\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u4ef6\" target=\"_blank\">mecab-ruby\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306btest.rb\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u4ef6<\/a><\/p>\n<p>\u3069\u3046\u3082mecab\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u53c2\u7167\u3067\u304d\u3066\u3044\u306a\u3044\u3068\u3053\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3088\u3046\u306a\u306e\u3067\uff0c\u751f\u6210\u3057\u305fMakefile\u306eLIBS\u306b&#8221;-lmecab&#8221;\u3068\u304b\u3092\u3064\u3051\u3066\u304a\u304f\u3068\u826f\u3044\u3089\u3057\u3044\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u304f\u3089VPS\u3067ruby2.0.0\u3084\u3089\u3092\u5171\u5b58\u3055\u305b\u308b\u305f\u3081\u306bRVM\u3092\u4f7f\u3063\u3066\u3044\u308b\u3051\u3069\uff0c1.9.3-p392\u3092\u5165\u308c\u308b\u3068\u304d\u306b\u3064\u307e\u3065\u3044\u305f\u308a\uff0cMeCab\u306eruby\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u5165\u308c\u308b\u306e\u306b\u3064\u307e\u3065\u3044\u305f\u306e\u3067\u30e1\u30e2\uff0e rvm\u306bruby-1.9. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[64],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-64"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lSjy-6V","jetpack-related-posts":[{"id":472,"url":"https:\/\/blog.tanitanin.net\/?p=472","url_meta":{"origin":429,"position":0},"title":"Capistrano v3\u3092\u8a66\u3057\u3066\u307f\u308b(1)","author":"tanitanin","date":"2013\u5e7410\u67088\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\uff0c\u305f\u306b\u305f\u306b\u3067\u3059\uff0e Deploy\u306e\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3068\u3057\u3066\u6709\u540d\u306aCapistrano\u3067\u3059\u304c\uff0c6\u6708\u306b\u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":500,"url":"https:\/\/blog.tanitanin.net\/?p=500","url_meta":{"origin":429,"position":1},"title":"Cygwin64\u3067ruby2.0\u4ee5\u4e0b\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f","author":"tanitanin","date":"2014\u5e742\u67086\u65e5","format":false,"excerpt":"Cygwin\u304c\u6b63\u5f0f\u306b64bit\u5bfe\u5fdc\u7248\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u306e\u3067Cygwin64\u4e0a\u3067ruby-2.0.0\u3092\u30a4\u30f3\u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":263,"url":"https:\/\/blog.tanitanin.net\/?p=263","url_meta":{"origin":429,"position":2},"title":"Cygwin\u3067Ruby on Rails\u306e\u74b0\u5883\u3065\u304f\u308a","author":"tanitanin","date":"2013\u5e742\u67082\u65e5","format":false,"excerpt":"Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u52c9\u5f37\u306b\u3068Ruby on Rails\u3092\u3044\u3058\u3063\u3066\u307f\u308b\uff0e \u74b0\u5883\u306fCygwin + \u2026","rel":"","context":"Rails","block_context":{"text":"Rails","link":"https:\/\/blog.tanitanin.net\/?cat=73"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":445,"url":"https:\/\/blog.tanitanin.net\/?p=445","url_meta":{"origin":429,"position":3},"title":"capistrano\u3067rails\u3058\u3083\u306a\u3044\u3082\u306e\u3092deploy\u3059\u308b","author":"tanitanin","date":"2013\u5e745\u670828\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\uff0c\u305f\u306b\u305f\u306b\u3067\u3059\uff0e Rails\u306e\u30c7\u30d7\u30ed\u30a4\u30c4\u30fc\u30eb\u3068\u3057\u3066\u6709\u540d\u306a\u306e\u304ccapistrano\u3067\u3059\u304c\uff0c \u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":77,"url":"https:\/\/blog.tanitanin.net\/?p=77","url_meta":{"origin":429,"position":4},"title":"\u3055\u304f\u3089\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u3044\u308d\u3044\u308d\u306a\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","author":"tanitanin","date":"2011\u5e748\u67089\u65e5","format":false,"excerpt":"\u6700\u8fd1\u307e\u3063\u305f\u304f\u66f4\u65b0\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u5099\u5fd8\u9332\u306a\u3069\u3002 \u3055\u304f\u3089\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306bruby\u307e\u308f\u308a\u306e\u3082\u306e\u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":479,"url":"https:\/\/blog.tanitanin.net\/?p=479","url_meta":{"origin":429,"position":5},"title":"Capistrano v3\u3092\u8a66\u3057\u3066\u307f\u308b(2)","author":"tanitanin","date":"2013\u5e7410\u67088\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\uff0c\u305f\u306b\u305f\u306b\u3067\u3059\uff0e \u524d\u56de\uff0cCapistrano v3\u3092\u5165\u308c\u3066\u307f\u305f\u306e\u3067\uff0c \u4e2d\u8eab\u304c\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=429"}],"version-history":[{"count":13,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":442,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/429\/revisions\/442"}],"wp:attachment":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}