Skip to content

Failed to build on MacOS #28

@newhoggy

Description

@newhoggy
$ cabal v2-install homplexity
Starting     homplexity-0.4.4.4 (exe:homplexity-cli)
Building     homplexity-0.4.4.4 (exe:homplexity-cli)

Failed to build exe:homplexity-cli from homplexity-0.4.4.4.
Build log ( /Users/jky/.cabal/logs/ghc-8.6.5/hmplxty-0.4.4.4-8f67ffbe.log ):
Configuring executable 'homplexity-cli' for homplexity-0.4.4.4..
Preprocessing executable 'homplexity-cli' for homplexity-0.4.4.4..
Building executable 'homplexity-cli' for homplexity-0.4.4.4..
[1 of 1] Compiling Main             ( app/Homplexity.hs, dist/build/homplexity-cli/homplexity-cli-tmp/Main.o )
Linking dist/build/homplexity-cli/homplexity-cli ...
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Failed to build exe:homplexity-cli from homplexity-0.4.4.4. See the
build log above for details.

Build environment:

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.6.5
$ cabal --version
cabal-install version 3.0.0.0
compiled using version 3.0.0.0 of the Cabal library
$ uname -a
Darwin johns-mbp.lan 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions