From mboxrd@z Thu Jan 1 00:00:00 1970 From: vikram sai balaji ulaganathan Subject: Re: collect2: fatal error: cannot find 'ld' Date: Sat, 9 Feb 2019 10:50:55 -0500 Message-ID: References: <87wom9kp1q.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000021b1960581780bcd" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsUuR-000628-CA for help-guix@gnu.org; Sat, 09 Feb 2019 10:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsUuP-0003Lr-C8 for help-guix@gnu.org; Sat, 09 Feb 2019 10:51:15 -0500 Received: from mail-it1-x136.google.com ([2607:f8b0:4864:20::136]:36928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsUuN-0003FT-W2 for help-guix@gnu.org; Sat, 09 Feb 2019 10:51:13 -0500 Received: by mail-it1-x136.google.com with SMTP id b5so16480548iti.2 for ; Sat, 09 Feb 2019 07:51:07 -0800 (PST) In-Reply-To: <87wom9kp1q.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org --00000000000021b1960581780bcd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 > znavko@tutanota.com writes: > > > Hi! I compile this > https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-b= locksize > < > https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-b= locksize > > > > > > 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=E2=80=99m assuming that you installed the =E2=80=9Cgcc=E2=80=9D package= . Don=E2=80=99t do that. > Install =E2=80=9Cgcc-toolchain=E2=80=9D instead. > > guix package -r gcc -i gcc-toolchain > > -- > Ricardo > > > --00000000000021b1960581780bcd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am using Gentoo and I am seeing this over there as well= . Upon researching if the program uses sed to perform any substitution, the= re could be an issue. Thanks

On Sat, Feb 9, 2019, 10:21 AM Ricardo Wurmus <rekado@elephly.net wrote:

znavko@tutanota.com writes:

> Hi! I compile this https://stackoverflow.com/questions/6161823/dd-how-to-calcu= late-optimal-blocksize <https://stackoverflow.com/questions/6161823/dd-how-t= o-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=E2=80=99m assuming that you installed the =E2=80=9Cgcc=E2=80=9D package.= =C2=A0 Don=E2=80=99t do that.
Install =E2=80=9Cgcc-toolchain=E2=80=9D instead.

=C2=A0 =C2=A0guix package -r gcc -i gcc-toolchain

--
Ricardo


--00000000000021b1960581780bcd--