GNU bug report logs - #42480
cabal-install/GHC fails to find libraries

Previous Next

Package: guix;

Reported by: John Soo <jsoo1 <at> asu.edu>

Date: Wed, 22 Jul 2020 18:46:02 UTC

Severity: normal

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42480: closed (cabal-install/GHC fails to find libraries)
Date: Fri, 22 Sep 2023 16:47:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 22 Sep 2023 18:16:43 +0200
with message-id <875y4289p0.fsf <at> gmail.com>
and subject line Re: bug#42480: cabal-install/GHC fails to find libraries
has caused the debbugs.gnu.org bug report #42480,
regarding cabal-install/GHC fails to find libraries
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42480: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42480
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John Soo <jsoo1 <at> asu.edu>
To: bug-guix <at> gnu.org
Subject: cabal-install/GHC fails to find libraries
Date: Wed, 22 Jul 2020 11:45:06 -0700
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


[Message part 3 (message/rfc822, inline)]
From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: John Soo <jsoo1 <at> asu.edu>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 42480-done <at> debbugs.gnu.org
Subject: Re: bug#42480: cabal-install/GHC fails to find libraries
Date: Fri, 22 Sep 2023 18:16:43 +0200
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 <at> 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


This bug report was last modified 1 year and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.