I'm trying to run a compiled file in c and I get the following error message:
"error while loading shared libraries: libpq.so.5: wrong ELF class: ELFCLASS64"
I did a search and I identified that this type of error is due to the x64 and x86 libraries, but I did not find anywhere how to solve this problem.
I have already installed the packages of postgresql and libpq5 but it did not work.