From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: collect2: fatal error: cannot find 'ld' Date: Sat, 09 Feb 2019 15:35:29 +0100 Message-ID: <87wom9kp1q.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsURL-0007nM-9n for help-guix@gnu.org; Sat, 09 Feb 2019 10:21:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsURK-0005O9-7O for help-guix@gnu.org; Sat, 09 Feb 2019 10:21:11 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsURJ-0005LJ-CX for help-guix@gnu.org; Sat, 09 Feb 2019 10:21:10 -0500 In-reply-to: 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: znavko@tutanota.com Cc: Help Guix znavko@tutanota.com writes: > Hi! I compile this 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=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 --=20 Ricardo