/usr/bin/ld despite binutils being being installed

So I got an error when trying to install lazyvim, saying ld can't be found. I went to check where i would expect it to be:

$ ls -la /usr/bin/ld
ls: cannot access '/usr/bin/ld': No such file or directory

tried installing it and was met with the message that:

$ rpm-ostree install binutils
error: "binutils" is already provided by: binutils-2.40-14.fc39.x86_64. Use --allow-inactive to explicitly require it.


I checked what this rpm would have installed and sure enough ld should've been under /usr/bin

$ rpm -ql binutils-2.40-14.fc39.x86_64 | grep /usr/bin/ld
/usr/bin/ld
/usr/bin/ld.bfd


any idea how i can fix this?
Was this page helpful?