I've added all 3 shared object files to my linker and also the static libary.
But now my programm says (Yes, I can execute it) that: [Dir]:error while loading shared libaries: libmysqlcppconn.so.6 cannot open shared object file: No such file or directory
I don't know what to do now, but "libmysqlcppconn.so.6" is one of these 3 files.