[Haskell-beginners] Execution error in using text-icu on windows

Francesco Ariis fa-ml at ariis.it
Sat Mar 4 14:10:03 UTC 2017


On Sat, Mar 04, 2017 at 10:05:27PM +0900, S. H. Aegis wrote:
> Thank you so much, Francesco Ariis.
> Thanks to your help, I stepped foreword.
> 
> But I got following error message. I googled this error message & try to
> fix this, but faild.
> How can I fix or get info. for this error message?
> Thank you so much.
> 
> [...]
>
> Linking .stack-work\dist\ca59d0ab\build\samChecker3-exe\samChecker3-exe.exe
> ...
> C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
> cannot find -licuuc
> C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
> cannot find -licuin
> C:/Users/shaeg/AppData/Local/Programs/stack/x86_64-windows/ghc-8.0.2/mingw/bin/ld.exe:
> cannot find -licudt
> collect2.exe: error: ld returned 1 exit status
> `gcc.exe' failed in phase `Linker'. (Exit code: 1)
>
> [...]

Argh, that's the linker acting up.
I haven't been using windows in 10 years, but is LIBRARY_PATH defined
on your system? And if so, where is it pointing?
Its value should be where the .a/.lib files are located (in your
particular example, icudt.lib, etc.).

Again, not a windows nor a stack user, so maybe you want to wait
for more answers and/or ask on haskell-stack at googlegroups.com too
-F


More information about the Beginners mailing list