hypocrisy-aeron
UBUniversal Blue
•Created by hypocrisy-aeron on 8/29/2024 in #🛟bazzite-help
Can't build mimalloc with cmake - cannot find 'ld'
I've downloaded the source code from Github and followed the instruction. First I extracted the contents, then moved inside the fodler, made a out/release and inside it ran
cmake ../..
. The error message that pops up says collection2: fatal error: cannot find 'ld'
. I've searched the internet for the past hour and didn't find anything that solves this.
My Path looks like this: /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/milan/.local/bin:/home/milan/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
I found some files named ld
in usr/bin/
and from what I've gathered, those are the ones that are needed.
My install of Bazzite is 1 week old and stock. I have not done any modifications to it since I am new to Linux and didn't want to mess anything up.
Edit: which ld
returns
/usr/bin/which: no ld in (/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/milan/.local/bin:/home/milan/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)
9 replies