Skip to content

Conversation

Mas0nShi
Copy link

Homebrew/homebrew-core#79874

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink lib/bfd-plugins/libdep.so
Target /opt/homebrew/lib/bfd-plugins/libdep.so
is a symlink belonging to binutils-aarch64. You can unlink it:
  brew unlink binutils-aarch64

To force the link and overwrite all conflicting files:
  brew link --overwrite binutils-amd64

To list all files that would be deleted:
  brew link --overwrite --dry-run binutils-amd64

Possible conflicting files are:
/opt/homebrew/lib/bfd-plugins/libdep.so -> /opt/homebrew/Cellar/binutils-aarch64/2.38/lib/bfd-plugins/libdep.so

@peace-maker
Copy link
Member

I don't have a mac to verify this, so any help is welcomed!

@Arusekk
Copy link
Member

Arusekk commented Jan 21, 2025

Shouldn't libdir be something like PREFIX/aarch64-linux-gnu/lib ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants