@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 https://stackoverflow.com/questions/38436182/errors-during-compiling-simple-program-in-clion#38436691 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.
@phoenix oh shit I've run into this exact error, I don't remember how I solved it, let me look around.
@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.