unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: znavko@tutanota.com
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: collect2: fatal error: cannot find 'ld'
Date: Sat, 09 Feb 2019 15:35:29 +0100	[thread overview]
Message-ID: <87wom9kp1q.fsf@elephly.net> (raw)
In-Reply-To: <LYHFyoS--3-1@tutanota.com>


znavko@tutanota.com 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	other threads:[~2019-02-09 15:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09 12:38 collect2: fatal error: cannot find 'ld' znavko
2019-02-09 14:35 ` Ricardo Wurmus [this message]
2019-02-09 15:50   ` vikram sai balaji ulaganathan
2019-02-10 10:28   ` znavko
     [not found]   ` <<87wom9kp1q.fsf@elephly.net>
     [not found]     ` <LYLwvzs--3-1@tutanota.com-LYLwzou----1>
2019-02-10 10:45       ` znavko
2019-02-11 11:40   ` zimoun
2019-02-11 12:01     ` Ricardo Wurmus
2019-02-11 12:07       ` zimoun
2019-02-12 16:44       ` Ludovic Courtès
2019-02-12 22:23         ` Ricardo Wurmus
2019-02-22 15:51           ` zimoun
2019-02-22 15:55             ` Ricardo Wurmus
2019-03-11 15:53           ` Ludovic Courtès
2019-05-09 21:20             ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wom9kp1q.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=znavko@tutanota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).