-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linker error when building any project #290
Comments
@philipdexter: are GHC and cabal-install able to link on this system (taking stack itself out of the picture)? |
Also, any additional details you can provide about the system you're running on would be helpful. Linux distribution, version, installed packages, etc. |
GHC and cabal-install are handled via the nix package manager, and can link (I built stack using I use arch linux. $ uname -a
Linux arch-satellite 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64 GNU/Linux I don't have any haskell related packages installed (at least none UPDATE: I've just installed the ghc and cabal-install distro packages and everything works. This must be a nix issue then. Hmm |
I stumbled upon the same (similar?) issue I started with a nix-installed version of stack, but the weird thing is that the errors kept appearing even with the Ubuntu's package and with a freshly-built version of stack 1.2. Moreover, I got this error also when using cabal-install via this is a gist of the error I get It apparently happens when trying to build any project, but weirdly it started happening after I added I thought that the reason might be related to the usage of pkgconfig, since a similar issue has been fixed by not relying on that anymore: I've seen one mention of PackageConfig but I'm not actually sure if that's even the same pkgconfig I managed to get back a working stack after removing the whole |
Running
stack build
on stack itself (fe06c3e)When running on a no-added-dependencies project
The text was updated successfully, but these errors were encountered: