{"id":461,"date":"2012-12-23T04:10:09","date_gmt":"2012-12-22T19:10:09","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2012\/12\/23\/cant-load-usr-local-lib64-perl5-auto-dbd-mysql-mysql-so\/"},"modified":"2012-12-23T04:10:09","modified_gmt":"2012-12-22T19:10:09","slug":"cant-load-usr-local-lib64-perl5-auto-dbd-mysql-mysql-so","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/461","title":{"rendered":"Can&#8217;t load &#8216;\/usr\/local\/lib64\/perl5\/auto\/DBD\/mysql\/mysql.so&#8217;"},"content":{"rendered":"<p>DBD-mysql-4.022 \u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u4e2d\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408<br \/>\nCan&#8217;t load &#8216;\/usr\/local\/lib64\/perl5\/auto\/DBD\/mysql\/mysql.so&#8217;<br \/>\n\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fMySQL\u3092\u898b\u306b\u884c\u3063\u3066\u3044\u306a\u3044\u306e\u304c\u539f\u56e0<br \/>\n# vi \/etc\/ld.so.conf.d\/mysq.conf<br \/>\n\/usr\/local\/mysql\/lib<br \/>\n\/usr\/local\/mysql\/lib\/mysql<br \/>\n# ldconfig<br \/>\n\/usr\/local\/mysql\/bin\/mysql_config &#8211;libs<br \/>\n\u3067\u3001\u5410\u304d\u51fa\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30e1\u30e2\u3002<br \/>\n\u3000\/usr\/local\/mysql\/bin\/mysql_config &#8211;cflags<br \/>\n\u3067\u3001\u5410\u304d\u51fa\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30e1\u30e2\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30de\u30f3\u30c9\u751f\u6210<br \/>\nperl Makefile.PL &#8211;cflags=\u300c\u51fa\u529b\u7d50\u679c\uff11\u300d &#8220;&#8211;libs=\u300c\u51fa\u529b\u7d50\u679c\uff12\u300d&#8221;<br \/>\n# perl Makefile.PL &#8211;cflags=-I\/usr\/local\/mysql\/include\/mysql &#8220;&#8211;libs=-L\/usr\/local\/mysql\/lib\/mysql -lmysqlclient -lz -lcrypt -lnsl -lm&#8221;<br \/>\n# make<br \/>\n# make install<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DBD-mysql-4.022 \u306e\u30b3\u30f3\u30d1<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,2],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-mysql","category-perl"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=461"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/461\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}