bug#42480: cabal-install/GHC fails to find libraries

2023-09-22 Thread Simon Tournier
Hi I think this old bug#42480, https://issues.guix.gnu.org/issue/42480 can be closed. On Wed, 22 Jul 2020 at 16:43, John Soo wrote: > I do have gcc-toolchain installed and I just realized that my project > compiles fine if I do not try to statically link. I believe this can be > closed a

bug#42480: cabal-install/GHC fails to find libraries

2020-07-22 Thread John Soo
Hi Ricardo, I do have gcc-toolchain installed and I just realized that my project compiles fine if I do not try to statically link. I believe this can be closed as dynamic linking works fine. My mistake. I did see the issue regarding captured inputs to ghc. I am in favor of removing them. I alw

bug#42480: cabal-install/GHC fails to find libraries

2020-07-22 Thread Ricardo Wurmus
John Soo writes: > I have a haskell project until recently compiled with the following: > > env -u GHC_PACKAGE_PATH cabal new-build > > Now it fails with the following: [ld errors] Do you have “gcc-toolchain” installed? -- Ricardo

bug#42480: cabal-install/GHC fails to find libraries

2020-07-22 Thread John Soo
Hi Guix, I have a haskell project until recently compiled with the following: env -u GHC_PACKAGE_PATH cabal new-build Now it fails with the following: ld: cannot find -lm ld: cannot find -lpthread ld: cannot find -lz ld: cannot find -lrt ld: cannot find -lutil ld: cannot find -ldl ld: cannot fi