[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32131: ghc fails to compile packages when installed into profile
From: |
Hogenson, Raymond E (334H-Affiliate) |
Subject: |
bug#32131: ghc fails to compile packages when installed into profile |
Date: |
Thu, 12 Jul 2018 09:20:08 -0700 |
User-agent: |
Microsoft-MacOutlook/10.f.0.180709 |
On 7/12/18, 8:59 AM, "Ludovic Court=C3=A8s" <address@hidden> wrote:
> Hello,
>
> Anonymous <address@hidden> skribis:
>
> [...]
>
> Indeed. Does running:
>
> guix package -i glibc binutils ld-wrapper
>
> help?
Actually, it does not. Doing that, I get the error
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
However, if I also set
LIBRARY_PATH=<path to glibc>/lib
then compilation proceeds just fine. It seems like just bringing glibc
into the profile does not correctly set LIBRARY_PATH.