Installing intero error

Anonymous Coward 2018-03-07 07:53:38.208475 UTC

1lucian@192-168-0-100:~/dev/hs/realworld$ (git::master) stack build intero
2syb-0.6: download
3ghc-paths-0.1.0.9: download
4ghc-paths-0.1.0.9: configure
5syb-0.6: configure
6syb-0.6: build
7syb-0.6: copy/register
8Progress: 2/3
9-- While building custom Setup.hs for package ghc-paths-0.1.0.9 using:
10 /Users/lucian/.stack/programs/x86_64-osx/ghc-8.0.1/bin/ghc --make -odir /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup -hidir /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup -i -i. -package=Cabal-1.24.0.0 -clear-package-db -global-package-db -package-db=/Users/lucian/.stack/snapshots/x86_64-osx/lts-7.14/8.0.1/pkgdb /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/Setup.hs /Users/lucian/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup -threaded
11 Process exited with code: ExitFailure 1
12 Logs have been written to: /Users/lucian/.stack/global-project/.stack-work/logs/ghc-paths-0.1.0.9.log
13
14 [1 of 2] Compiling Main ( /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/Setup.hs, /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/Main.o )
15 [2 of 2] Compiling StackSetupShim ( /Users/lucian/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/StackSetupShim.o )
16 Linking /private/var/folders/ng/6k6fftj54h1602l6ns0q98mm0000gn/T/stack69676/ghc-paths-0.1.0.9/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup ...
17 Undefined symbols for architecture x86_64:
18 "_iconv", referenced from:
19 _hs_iconv in libHSbase-4.9.0.0.a(iconv.o)
20 (maybe you meant: _base_GHCziIOziEncodingziIconv_iconvEncoding_closure, _base_GHCziIOziEncodingziIconv_iconvEncoding1_info , _base_GHCziIOziEncodingziIconv_iconvEncoding4_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding4_info , _base_GHCziIOziEncodingziIconv_iconvEncoding7_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding7_info , _base_GHCziIOziEncodingziIconv_iconvEncoding6_info , _hs_iconv , _base_GHCziIOziEncodingziIconv_iconvEncoding8_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding8_info , _hs_iconv_open , _base_GHCziIOziEncodingziIconv_iconvEncoding10_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_closure , _hs_iconv_close , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding9_info , _base_GHCziIOziEncodingziIconv_iconvEncoding5_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding11_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding1_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_info , _base_GHCziIOziEncodingziIconv_iconvEncoding6_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc1_info , _base_GHCziIOziEncodingziIconv_iconvEncoding2_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding10_info , _base_GHCziIOziEncodingziIconv_iconvEncoding11_info , _base_GHCziIOziEncodingziIconv_iconvEncoding3_closure , _base_GHCziIOziEncodingziIconv_iconvEncodingzuloc_closure , _base_GHCziIOziEncodingziIconv_iconvEncoding2_info , _base_GHCziIOziEncodingziIconv_iconvEncoding_info )
21 "_iconv_close", referenced from:
22 _hs_iconv_close in libHSbase-4.9.0.0.a(iconv.o)
23 (maybe you meant: _hs_iconv_close)
24 "_iconv_open", referenced from:
25 _hs_iconv_open in libHSbase-4.9.0.0.a(iconv.o)
26 (maybe you meant: _hs_iconv_open)
27 "_locale_charset", referenced from:
28 _localeEncoding in libHSbase-4.9.0.0.a(PrelIOUtils.o)
29 ld: symbol(s) not found for architecture x86_64
30 clang: error: linker command failed with exit code 1 (use -v to see invocation)
31 `gcc' failed in phase `Linker'. (Exit code: 1)