@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.