euphonictechnologies’s diary


follow us in feedly


Thanks for

If you have a problem when you install uniplate (or ghc-mod, hlint, etc...) by cabal:

Loading package base ... <command line>: can't load .so/.DLL for: /Applications/ (dlopen(/Applications/, 9): no suitable image found.  Did find:
    /Applications/ mach-o, but wrong filetype)
cabal: Error: some packages failed to install:
uniplate-1.6.12 failed during the building phase. The exception was:
ExitFailure 1

Let's do (1) install command line tools and (2) re-install gcc by brew:

xcode-select --install

Command line tools installation will appear. And then install (or re-install) gcc by home-brew

brew reinstall gcc

You'll get uniplate installed! Yay!