{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1566","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1566/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1566/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1566/events","html_url":"https://github.com/commercialhaskell/stack/issues/1566","id":123952551,"number":1566,"title":"Ubuntu 14.04 x32. Installing issue.","user":{"login":"Losiara","id":5796819,"avatar_url":"https://avatars.githubusercontent.com/u/5796819?v=3","gravatar_id":"","url":"https://api.github.com/users/Losiara","html_url":"https://github.com/Losiara","followers_url":"https://api.github.com/users/Losiara/followers","following_url":"https://api.github.com/users/Losiara/following{/other_user}","gists_url":"https://api.github.com/users/Losiara/gists{/gist_id}","starred_url":"https://api.github.com/users/Losiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Losiara/subscriptions","organizations_url":"https://api.github.com/users/Losiara/orgs","repos_url":"https://api.github.com/users/Losiara/repos","events_url":"https://api.github.com/users/Losiara/events{/privacy}","received_events_url":"https://api.github.com/users/Losiara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-26T22:56:53Z","updated_at":"2015-12-29T11:19:07Z","closed_at":null,"body":"Downloaded x32 from download page. \r\n- First it coldn't find libgmp, so I symlinked it in /usr/lib from /usr/lib/x86_64-linux-gnu/libgmp.so.10\r\n- After that there is error:\r\n\r\nstack: error while loading shared libraries: libgmp.so.10: wrong ELF class: ELFCLASS64\r\n\r\n\"sudo apt-get install libgmp-dev\" tells that it is already installed.\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/167767832","html_url":"https://github.com/commercialhaskell/stack/issues/1566#issuecomment-167767832","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1566","id":167767832,"user":{"login":"borsboom","id":2164261,"avatar_url":"https://avatars.githubusercontent.com/u/2164261?v=3","gravatar_id":"","url":"https://api.github.com/users/borsboom","html_url":"https://github.com/borsboom","followers_url":"https://api.github.com/users/borsboom/followers","following_url":"https://api.github.com/users/borsboom/following{/other_user}","gists_url":"https://api.github.com/users/borsboom/gists{/gist_id}","starred_url":"https://api.github.com/users/borsboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borsboom/subscriptions","organizations_url":"https://api.github.com/users/borsboom/orgs","repos_url":"https://api.github.com/users/borsboom/repos","events_url":"https://api.github.com/users/borsboom/events{/privacy}","received_events_url":"https://api.github.com/users/borsboom/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T11:19:07Z","updated_at":"2015-12-29T11:19:07Z","body":"What do the following commands output?\r\n\r\n```\r\nuname -p\r\nldd `which cabal`\r\n```\r\n\r\nMy suspicion is that you're trying to run 32-bit Stack on a 64-bit Ubuntu system.  If so, is there any particular reason?  Have you tried running `apt-get install libgmp10:i386` to install the 32-bit version of libgmp10?\r\n"}}