/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
$ 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.
$ 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
$ 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?
8 Replies
Kyle Gospo
Kyle Gospo•10mo ago
@bsherman Didn't you do something to fix this recently? @DevilFish303 In the meantime I'd use distrobox for this may be better for this use case in the first place
bsherman
bsherman•10mo ago
I removed the symlinks which were in container image but not referencing anything. A bit different. I have a solution for this concern if you give me an issue to PR against.
Kyle Gospo
Kyle Gospo•10mo ago
sure, open one shortly and ping you ty
DevilFish303
DevilFish303OP•10mo ago
thanks, @bsherman sorry for the crosspost, i did it several times and nobody had said anything, i thought it was okay. Anyway sounds good ill try setting it up in distrobox for now.
Mr.Kerwood
Mr.Kerwood•10mo ago
Did you find a solution for this ?
Mr.Kerwood
Mr.Kerwood•10mo ago
GitHub
bluefin/workarounds.sh at main · ublue-os/bluefin
An interpretation of the Ubuntu spirit built on Fedora technology - ublue-os/bluefin
Mr.Kerwood
Mr.Kerwood•10mo ago
But a permanent fix would be nice 🙂
bsherman
bsherman•10mo ago
you don't want that workaround in your image. i didn't see the ping from Kyel re the issue he was going to file but i expect we need a workaround on the bazzite image build to make sure packages requiring alternatives framework are installing correctly
Want results from more Discord servers?
Add your server