|
From: | vikram sai balaji ulaganathan |
Subject: | Re: collect2: fatal error: cannot find 'ld' |
Date: | Sat, 9 Feb 2019 10:50:55 -0500 |
address@hidden writes:
> Hi! I compile this https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-blocksize <https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-blocksize>
>
> and get this:
>
> $ gcc c.c
> collect2: fatal error: cannot find 'ld'
> compilation terminated.
>
> $ whereis ld
> ld:
>
> $ gcc --version
> gcc (GCC) 8.2.0
>
> How to solve this?
I’m assuming that you installed the “gcc” package. Don’t do that.
Install “gcc-toolchain” instead.
guix package -r gcc -i gcc-toolchain
--
Ricardo
[Prev in Thread] | Current Thread | [Next in Thread] |