Closed AndreiBarsan closed 3 years ago
Update: I purged ~/.stack
and removed Anaconda from the PATH, since it had a history of messing with unrelated builds in bizarre way, possibly because of manipulating ld
-related environment variables. The build still failed with identical errors.
I also tried this mitigation ~but it did not help either~ and it helped once I (1) brew uninstall binutils
, (2) rm -rf ~/.stack
, and (3) re-built my pp
.
Solved! 🦆
I am using the provided
Makefile
to buildpp
on my macOS 10.14. I plan to use this together with pandoc, but I am not a Haskell expert myself.Most of the build works fine, but then fails with linker errors:
I tried
stack upgrade && stack update
but it did not help. My stack version isVersion 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0
.Purging
~/.stack/snapshots
did not help either.Has anyone else encountered a similar issue before?