/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 man I've got nothing. Did you make sure to install the 64 bit version of the gcc-go compiler? I think it has something to do with default installing only 32 bit dependencies or something like that.

@mister_monster I'd assume it's 64bit if the library was installed in /usr/lib64, so ¯\_(ツ)_/¯
Must be a bug in fedora 32, I'll have to report it
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!