* bug#42480: cabal-install/GHC fails to find libraries
@ 2020-07-22 18:45 John Soo
2020-07-22 21:51 ` Ricardo Wurmus
0 siblings, 1 reply; 4+ messages in thread
From: John Soo @ 2020-07-22 18:45 UTC (permalink / raw)
To: 42480
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 find -lpthread
ld: cannot find -lm
ld: cannot find -lrt
ld: cannot find -ldl
ld: cannot find -lpthread
ld: cannot find -lpthread
ld: cannot find -lpthread
ld: cannot find -lc
Could a graft be failing to update references to various libraries?
I really don't know what could be going on.
Thanks!
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#42480: cabal-install/GHC fails to find libraries
2020-07-22 18:45 bug#42480: cabal-install/GHC fails to find libraries John Soo
@ 2020-07-22 21:51 ` Ricardo Wurmus
2020-07-22 23:43 ` John Soo
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2020-07-22 21:51 UTC (permalink / raw)
To: John Soo; +Cc: 42480
John Soo <jsoo1@asu.edu> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#42480: cabal-install/GHC fails to find libraries
2020-07-22 21:51 ` Ricardo Wurmus
@ 2020-07-22 23:43 ` John Soo
2023-09-22 16:16 ` Simon Tournier
0 siblings, 1 reply; 4+ messages in thread
From: John Soo @ 2020-07-22 23:43 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 42480
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
always must have gcc-toolchain installed when using ghc anyways.
Thanks again,
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#42480: cabal-install/GHC fails to find libraries
2020-07-22 23:43 ` John Soo
@ 2023-09-22 16:16 ` Simon Tournier
0 siblings, 0 replies; 4+ messages in thread
From: Simon Tournier @ 2023-09-22 16:16 UTC (permalink / raw)
To: John Soo; +Cc: Ricardo Wurmus, 42480-done
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 <jsoo1@asu.edu> 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 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
> always must have gcc-toolchain installed when using ghc anyways.
Adding gcc-toolchain fixes the issue.
I am closing. Let me know if I am missing something.
Cheers,
simon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-22 16:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-22 18:45 bug#42480: cabal-install/GHC fails to find libraries John Soo
2020-07-22 21:51 ` Ricardo Wurmus
2020-07-22 23:43 ` John Soo
2023-09-22 16:16 ` Simon Tournier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.