[Top][All Lists]

[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 <>
> 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


reply via email to

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