{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/882","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/882/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/882/events","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/882","id":138303380,"number":882,"title":"ghc: depends on libncursesw.so.5","user":{"login":"jwhite007","id":5623650,"avatar_url":"https://avatars.githubusercontent.com/u/5623650?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhite007","html_url":"https://github.com/jwhite007","followers_url":"https://api.github.com/users/jwhite007/followers","following_url":"https://api.github.com/users/jwhite007/following{/other_user}","gists_url":"https://api.github.com/users/jwhite007/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhite007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhite007/subscriptions","organizations_url":"https://api.github.com/users/jwhite007/orgs","repos_url":"https://api.github.com/users/jwhite007/repos","events_url":"https://api.github.com/users/jwhite007/events{/privacy}","received_events_url":"https://api.github.com/users/jwhite007/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"},{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/Dependency","name":"Dependency","color":"fef2c0"},{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-03T21:34:54Z","updated_at":"2016-03-14T23:18:46Z","closed_at":null,"body":"```\r\nLast 15 lines from /home/whitj15/.cache/Homebrew/Logs/ghc/05.configure:\r\n2016-03-03 21:30:44 +0000\r\n\r\n./configure\r\n--prefix=/home/whitj15/tmp/ghc20160303-14946-1q1emq2/ghc-7.10.3/binary\r\n--with-gmp-includes=/toolbox/NGS/.linuxbrew_amd/Cellar/ghc/7.10.3b/libexec/integer-gmp/include\r\n--with-gmp-libraries=/toolbox/NGS/.linuxbrew_amd/Cellar/ghc/7.10.3b/libexec/integer-gmp/lib\r\n--with-ld=ld\r\n--with-gcc=/toolbox/NGS/.linuxbrew_amd/bin/gcc-5\r\n\r\nconfigure: WARNING: unrecognized options: --with-ld\r\nchecking for path to top of build tree... /home/whitj15/tmp/ghc--binary20160303-14946-1wk487s/ghc-7.6.3\r\nghc/stage2/build/tmp/ghc-stage2: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory\r\nCan't work out build platform\r\n```\r\nLogs are here... https://gist.github.com/jwhite007/d42b1a46ec51fefdfe1a"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/comments/196561461","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/882#issuecomment-196561461","issue_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/882","id":196561461,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T23:18:46Z","updated_at":"2016-03-14T23:18:46Z","body":"@jwhite007 Are you able/interested in submitting a pull request to fix this issue? Add to `def install` something like the following (untested)\r\n```ruby\r\nln_s Formula[\"ncurses\"].lib/\"libncursesw.so.6\", lib/\"libncursesw.so.5\" if OS.linux?\r\n```\r\nand then at the end of `def install`\r\n```ruby\r\nrm lib/\"libncursesw.so.5\" if OS.linux?\r\n```"}}