/usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a inside /usr/bin/../

has anyone come across this error before? I’m getting it on fedora 32 when attempting to compile some things, and the internet isn’t giving me much help

@phoenix you're missing some 64 bit library dependency for what you're trying to compile. I'm guessing you're trying to compile with cmake (GCC)? Try this stackoverflow.com/questions/38 you may have already found it but if not try it.

Otherwise try to update your C compiler/GCC (make sure to include all 64 bit dependencies) and see if it works.

@mister_monster I'm trying to compile a specific go app (https://github.com/layeh/barnard) and I have all the prerequisite development libraries installed, but it still throws me this error. it's even something I got when trying to compile another application as well, so it makes me think it's some sort of issue with my system, but everything is the latest version that fedora 32 has

@phoenix alright a lot of compilers for Linux depend on GCC, and I've run into errors similar to this on 64 bit systems, try updating GCC and see if you can find a package named lib64 lib64 and update it.

@mister_monster gcc is as updated as it's going to get, no lib64 package. Though after installing gcc-go I get a different, equally baffling error
Follow

@phoenix oh shit I've run into this exact error, I don't remember how I solved it, let me look around.

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!