help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: collect2: fatal error: cannot find 'ld'


From: vikram sai balaji ulaganathan
Subject: Re: collect2: fatal error: cannot find 'ld'
Date: Sat, 9 Feb 2019 10:50:55 -0500

I am using Gentoo and I am seeing this over there as well. Upon researching if the program uses sed to perform any substitution, there could be an issue. Thanks

On Sat, Feb 9, 2019, 10:21 AM Ricardo Wurmus <address@hidden wrote:

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]