{"id":82,"date":"2017-06-23T10:33:43","date_gmt":"2017-06-23T02:33:43","guid":{"rendered":"http:\/\/49.232.131.197\/?p=82"},"modified":"2017-06-25T00:23:34","modified_gmt":"2017-06-24T16:23:34","slug":"centos","status":"publish","type":"post","link":"http:\/\/www.sourcecool.com\/index.php\/2017\/06\/23\/centos\/","title":{"rendered":"Centos\u7f16\u8bd132\u4f4d\u7a0b\u5e8f"},"content":{"rendered":"<table cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>X86_64 \u7684 Redhat \/ Centos \/ Scientific \u4e0b\u9762\uff0c\u82e5\u8981\u7f16\u8bd1\u3001\u8fd0\u884c32\u4f4d\u7a0b\u5e8f\uff0c\u9700\u8981\u5b89\u88c5\u4ee5\u4e0b\u5305\uff1a<br \/>\nyum install libgcc.i686<br \/>\nyum install glibc-static.i686<br \/>\nyum install glibc-devel.i686<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table id=\"blogContentTable\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\">\n<div id=\"blogContainer\">\n<div id=\"blogDetailDiv\" data-webp-ctx-e=\"1\">\n<div class=\"blog_details_20120222\">\n<div>\n<h2>A note about glibc-devel on 64 bit systems<\/h2>\n<p>You may see an error as follows on 64 bit system when you try to build 32 bit app:<\/p>\n<blockquote><p>\/usr\/include\/gnu\/stubs.h:7:27: error: gnu\/stubs-32.h:<\/p><\/blockquote>\n<p>This error message shows up on the 64 bit systems where GCC multilib feature is enabled, and it indicates that 32 bit version of libc is not installed. To fix this problem, on a<strong>CentOS\/RHEL 5.x<\/strong>\u00a0type the following\u00a0<a title=\"See Linux\/Unix yum command examples for more info\" href=\"http:\/\/www.cyberciti.biz\/faq\/rhel-centos-fedora-linux-yum-command-howto\/\" target=\"_blank\" rel=\"noopener noreferrer\">yum command<\/a>:<br \/>\n<code># yum -y install glibc-devel.i386 libstdc++-devel.i386<\/code><br \/>\nTo fix this problem, on a\u00a0<strong>CentOS\/RHEL 6.x<\/strong>\u00a0type the following\u00a0<a title=\"See Linux\/Unix yum command examples for more info\" href=\"http:\/\/www.cyberciti.biz\/faq\/rhel-centos-fedora-linux-yum-command-howto\/\" target=\"_blank\" rel=\"noopener noreferrer\">yum command<\/a>:<br \/>\n<code># yum -y install glibc-devel.i686 glibc-devel ibstdc++-devel.i686<\/code><br \/>\nTo fix this problem on a\u00a0<strong>Debian or Ubuntu Linux<\/strong>\u00a0type the following\u00a0<a title=\"See Linux\/Unix apt-get command examples for more info\" href=\"http:\/\/www.cyberciti.biz\/tips\/linux-debian-package-management-cheat-sheet.html\" target=\"_blank\" rel=\"noopener noreferrer\">apt-get command<\/a>:<br \/>\n<code>$ sudo apt-get install g++-multilib libc6-dev-i386<\/code><br \/>\nTo fix this problem on a\u00a0<strong>Suse (SLES) \/ OpenSUSE Linux<\/strong>\u00a0type the following zypper command:<br \/>\n<code># zypper in glibc-devel-32bit<\/code><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>X86_64 \u7684 Redhat&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/posts\/82"}],"collection":[{"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":2,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":99,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions\/99"}],"wp:attachment":[{"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sourcecool.com\/index.php\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}