openframeworks / openframeworks/openFrameworks

collect2: fatal error: cannot find ‘ld’

Open
#8,239 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Ok so i am using Fedora 41 and when i compile my own cpp projects everything works fine, but when i compile an OpenFrameworks project either with make command or Run Build Task inside vscode i always get the error in the title.

collect2: fatal error: cannot find 'ld'

I really am starting to get frustrated cause i searched all the web tested everything made sure every package i have installed and is necessary is properly configured. What the heck is happening???

If you need more info pls ask for it i really need help. I am stuck on a college's project cause of this error and aparently its not my fault.

Edit: I am using the openframeworks on the official website and compiled it following the instructions on the same site.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Fedora 41 build through the project's make command and the VS Code Run Build Task, comparing the resulting linker configuration with the official openFrameworks build instructions. Determine why collect2 cannot find ld; done means the same OpenFrameworks project builds successfully through both reported paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.