error while loading shared libraries: wrong ELF class: ELFCLASS64
Attempting to run the cognos Classic query engine or any of the 32bit clients when the library paths are referencing the 64bit version of the database driver will generate a library error as shown. Transformer needs to reference only 32bit libraries.
Cognos Transformer, Framework Manager and the classic query mode of the BI server are all 32bit applications, and therefore must reference only the 32bit database libraries, regardless of the bitness of the Cognos server installation.
Resolving the problem
Ensure that the system path and library path only contain references to the 32bit database driver libraries.