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: Ricardo Wurmus
Subject: Re: collect2: fatal error: cannot find 'ld'
Date: Sat, 09 Feb 2019 15:35:29 +0100
User-agent: mu4e 1.0; emacs 26.1

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]