While executing one of my C++ Application, I am getting a weird message on one of my Cento x64 box where at the same time another machine with similar configuration is perfectly running the Application.
Error message is:
/myapp: error while loading shared libraries: /myapp: wrong ELF class: ELFCLASS64
N.B: 'myapp' is not some shared library (.so) but actual application itself.
All 3rd party libs being linked with myapp have also been compiled on machine on which I am executing the application. I have compiled libmysqlpp, libthrift and libACE libraries and anything else necessary has been installed through yum.