On 7/12/18, 8:59 AM, "Ludovic Court=C3=A8s" <[email protected]> wrote:
> Hello,
>
> Anonymous <[email protected]> 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.