#linker error when building from source

1 messages · Page 1 of 1 (latest)

pallid fern
#

basically title^ its been a bit since I've read over linker errors and I don't have enough experience with CMake so I'll need to do some reading on that.

I just downloaded llvm 17.0.2 and added that to PATH and I followed the build from source instructions, and got to the Linking CXX executable zig2 where I got the error in the picture.

If anyone has insight on how to debug this that would be wonderful!

running ubuntu 22.04 WSL

calm sun
#

you need zstd

pallid fern
calm sun
#

yep

pallid fern
#

tyty

pallid fern
# calm sun yep

i still seem to be missing the one for -lz, any ideas on what that would be?

calm sun
pallid fern
#

how do you learn these things

calm sun
#

years of C xp by now, but also knowing that given a -lname the linker looks for a file named libname.so