From: Antero Mejr via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 63728@debbugs.gnu.org
Subject: bug#63728: GHC cannot find lrt
Date: Thu, 25 May 2023 22:25:29 +0000 [thread overview]
Message-ID: <877cswaw12.fsf@mailbox.org> (raw)
Attempting to build a trivial Haskell program using ghc fails, as the
linker cannot find the rt library:
```
~ $ ghc -O2 test.hs
Linking test ...
/home/a/.guix-profile/bin/ld: cannot find -lrt: No such file or directory
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
```
Glibc and gcc-toolchain are installed in the profile, and
~/.guix-profile/lib/librt.so.1 exists.
Maybe this is related to this new bug, or the recent core-updates merge?
https://issues.guix.gnu.org/63238
next reply other threads:[~2023-05-25 22:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 22:25 Antero Mejr via Bug reports for GNU Guix [this message]
2023-05-26 9:17 ` bug#63728: GHC cannot find lrt Mekeor Melire
2023-05-26 15:44 ` Antero Mejr via Bug reports for GNU Guix
2023-05-29 20:04 ` Mekeor Melire
2023-05-31 18:40 ` Josselin Poiret via Bug reports for GNU Guix
2023-05-26 9:21 ` Mekeor Melire
2023-05-26 15:16 ` bug#63728: (no subject) Antero Mejr via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cswaw12.fsf@mailbox.org \
--to=bug-guix@gnu.org \
--cc=63728@debbugs.gnu.org \
--cc=antero@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.