GNU bug report logs - #63728
GHC cannot find lrt

Previous Next

Package: guix;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Thu, 25 May 2023 22:26:01 UTC

Severity: normal

Merged with 63258

Full log


View this message in rfc822 format

From: Antero Mejr <antero <at> mailbox.org>
To: 63728 <at> debbugs.gnu.org
Subject: bug#63728: GHC cannot find lrt
Date: Thu, 25 May 2023 22:25:29 +0000
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




This bug report was last modified 2 years and 15 days ago.

Previous Next


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