{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/intero/issues/43","repository_url":"https://api.github.com/repos/chrisdone/intero","labels_url":"https://api.github.com/repos/chrisdone/intero/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/intero/issues/43/comments","events_url":"https://api.github.com/repos/chrisdone/intero/issues/43/events","html_url":"https://github.com/chrisdone/intero/issues/43","id":156584839,"number":43,"title":"ld error when running","user":{"login":"jaccokrijnen","id":4022046,"avatar_url":"https://avatars.githubusercontent.com/u/4022046?v=3","gravatar_id":"","url":"https://api.github.com/users/jaccokrijnen","html_url":"https://github.com/jaccokrijnen","followers_url":"https://api.github.com/users/jaccokrijnen/followers","following_url":"https://api.github.com/users/jaccokrijnen/following{/other_user}","gists_url":"https://api.github.com/users/jaccokrijnen/gists{/gist_id}","starred_url":"https://api.github.com/users/jaccokrijnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaccokrijnen/subscriptions","organizations_url":"https://api.github.com/users/jaccokrijnen/orgs","repos_url":"https://api.github.com/users/jaccokrijnen/repos","events_url":"https://api.github.com/users/jaccokrijnen/events{/privacy}","received_events_url":"https://api.github.com/users/jaccokrijnen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T19:03:52Z","updated_at":"2016-05-24T19:32:30Z","closed_at":null,"body":"I did the following:\r\n\r\n```\r\njacco@xw4600:~/projects$ git clone https://github.com/chrisdone/intero.git\r\nCloning into 'intero'...\r\nremote: Counting objects: 413, done.\r\nremote: Compressing objects: 100% (142/142), done.\r\nremote: Total 413 (delta 71), reused 0 (delta 0), pack-reused 271\r\nReceiving objects: 100% (413/413), 224.99 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (226/226), done.\r\nChecking connectivity... done.\r\njacco@xw4600:~/projects$ cd intero/\r\njacco@xw4600:~/projects/intero$ stack install intero\r\nintero-0.1.8: configure\r\nConfiguring intero-0.1.8...\r\nintero-0.1.8: build\r\nPreprocessing executable 'intero' for intero-0.1.8...\r\n[1 of 8] Compiling GhciTypes        ( src/GhciTypes.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/GhciTypes.o )\r\n[2 of 8] Compiling GhciMonad        ( src/GhciMonad.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/GhciMonad.o )\r\n[3 of 8] Compiling GhciTags         ( src/GhciTags.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/GhciTags.o )\r\n[4 of 8] Compiling GhciInfo         ( src/GhciInfo.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/GhciInfo.o )\r\n[5 of 8] Compiling GhciFind         ( src/GhciFind.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/GhciFind.o )\r\n[6 of 8] Compiling Paths_intero     ( .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/autogen/Paths_intero.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/Paths_intero.o )\r\n[7 of 8] Compiling InteractiveUI    ( src/InteractiveUI.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/InteractiveUI.o )\r\n[8 of 8] Compiling Main             ( src/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/Main.o )\r\nLinking .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero ...\r\nWarning: module not listed in intero.cabal for 'intero' component (add to other-modules): Paths_intero\r\nintero-0.1.8: copy/register\r\nInstalling executable(s) in\r\n/home/jacco/projects/intero/.stack-work/install/x86_64-linux/lts-5.16/7.10.3/bin\r\nCopying from /home/jacco/projects/intero/.stack-work/install/x86_64-linux/lts-5.16/7.10.3/bin/intero to /home/jacco/.local/bin/intero\r\n\r\nCopied executables to /home/jacco/.local/bin:\r\n- intero\r\njacco@xw4600:~/projects/intero$ stack ghci --with-ghc intero\r\nThe following GHC options are incompatible with GHCi and have not been passed to it: -O2 -threaded\r\nUsing main module: 1. Package `intero' component exe:intero with main-is file: /home/jacco/projects/intero/src/Main.hs\r\nConfiguring GHCi with the following packages: intero\r\nIntero 0.1.8 (GHC 7.10.3)\r\nType :intro and press enter for an introduction of the standard commands.\r\n\r\n/usr/bin/ld: /home/jacco/projects/intero/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/cbits/hschooks.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC\r\n/home/jacco/projects/intero/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/intero/intero-tmp/cbits/hschooks.o: error adding symbols: Bad value\r\ncollect2: error: ld returned 1 exit status\r\n```\r\n\r\nI have the following `ncurses` and `tinfo` libraries\r\n```\r\njacco@xw4600:~/projects/intero$ dpkg --get-selections | grep ncurses\r\nlibncurses5:amd64\t\t\t\tinstall\r\nlibncurses5:i386\t\t\t\tinstall\r\nlibncurses5-dev:amd64\t\t\t\tinstall\r\nlibncursesw5:amd64\t\t\t\tinstall\r\nncurses-base\t\t\t\t\tinstall\r\nncurses-bin\t\t\t\t\tinstall\r\njacco@xw4600:~/projects/intero$ dpkg --get-selections | grep tinfo\r\nlibtinfo-dev:amd64\t\t\t\tinstall\r\nlibtinfo5:amd64\t\t\t\t\tinstall\r\nlibtinfo5:i386\t\t\t\t\tinstall\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chrisdone/intero/issues/comments/221378081","html_url":"https://github.com/chrisdone/intero/issues/43#issuecomment-221378081","issue_url":"https://api.github.com/repos/chrisdone/intero/issues/43","id":221378081,"user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars.githubusercontent.com/u/11019?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T19:32:30Z","updated_at":"2016-05-24T19:32:30Z","body":"What about with `--no-load --no-build` to `stack ghci`?"}}
{"actor":{"display_login":"chrisdone"}}