{"id":215,"date":"2012-03-31T13:58:40","date_gmt":"2012-03-31T17:58:40","guid":{"rendered":"http:\/\/codefork.com\/blog\/?p=215"},"modified":"2012-04-14T12:33:57","modified_gmt":"2012-04-14T16:33:57","slug":"sbcl-1-0-55-x64-needs-glibc-2-14","status":"publish","type":"post","link":"https:\/\/codefork.com\/blog\/index.php\/2012\/03\/31\/sbcl-1-0-55-x64-needs-glibc-2-14\/","title":{"rendered":"SBCL 1.0.55 x64 needs GLIBC 2.14"},"content":{"rendered":"<p>It installed on my Ubuntu 11.10 (Oneiric) laptop, but when I tried to run it, I got this message:<\/p>\n<p><code>sbcl: \/lib\/x86_64-linux-gnu\/libc.so.6: version `GLIBC_2.14' not found (required by sbcl)<\/code><\/p>\n<p>Hmmm. Let&#8217;s see..<\/p>\n<p><code># ls -al \/lib\/x86_64-linux-gnu\/libc.so.6<br \/>\nlrwxrwxrwx 1 root root 12 2012-03-06 21:17 \/lib\/x86_64-linux-gnu\/libc.so.6 -> libc-2.13.so<\/code><\/p>\n<p>Argh.<\/p>\n<p>This has already been reported in the SBCL <a href=\"https:\/\/bugs.launchpad.net\/sbcl\/+bug\/915171\">bug database<\/a>.<\/p>\n<p>My workaround was to grab 1.0.54 from the <a href=\"https:\/\/sourceforge.net\/projects\/sbcl\/files\/sbcl\/\">old file releases<\/a> section on SBCL&#8217;s sourceforge site. That worked fine. So you&#8217;ll need to downgrade if you want to use the 64 bit version.<\/p>\n<p>This came up when I ran into problems installing <a href=\"https:\/\/code.google.com\/p\/cl-libxml2\/\">cl-libxml2<\/a> using <a href=\"http:\/\/www.quicklisp.org\/\">quicklisp<\/a>. The x86 version of SBCL throws an error when using cffi to load the Ubuntu-packaged libxml2 library, because it expects a 32-bit version of the library but finds a 64-bit one instead (I neglected to copy the error message, but it&#8217;s something about finding an unexpected\/wrong class ELFCLASS64).<\/p>\n<p>So I suspect anyone who has a x64 system that uses cffi to access libraries in this manner will run into the same problem with SBCL 1.0.55.<\/p>\n<p>On a side note, I can&#8217;t imagine installing and managing Common Lisp libraries without quicklisp. It took a few seconds to do what would probably take a beginner like me hours to figure out. Awesome tools like that make a huge difference to newcomers who want to get up and running with CL without a lot of pain.<\/p>\n<p>* * *<\/p>\n<p><strong>UPDATE<\/strong>: This is fixed in 1.0.56.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It installed on my Ubuntu 11.10 (Oneiric) laptop, but when I tried to run it, I got this message: sbcl: \/lib\/x86_64-linux-gnu\/libc.so.6: version `GLIBC_2.14&#8242; not found (required by sbcl) Hmmm. Let&#8217;s see.. # ls -al \/lib\/x86_64-linux-gnu\/libc.so.6 lrwxrwxrwx 1 root root 12 2012-03-06 21:17 \/lib\/x86_64-linux-gnu\/libc.so.6 -> libc-2.13.so Argh. This has already been reported in the SBCL bug &hellip; <a href=\"https:\/\/codefork.com\/blog\/index.php\/2012\/03\/31\/sbcl-1-0-55-x64-needs-glibc-2-14\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SBCL 1.0.55 x64 needs GLIBC 2.14&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,19],"tags":[],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-admin","category-lisp"],"_links":{"self":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":3,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions\/237"}],"wp:attachment":[{"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codefork.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}