The following error may occur when installing DB2 on Linux using db2_install or db2setup even though the operating system platform matches the correct Linux installation image type.
DBI1189E There has been an attempt to use db2setup
on an image for a platform that does not match the current platform
'Linux/x86-64' on which it is being run.
The typical reason why this problem would happen is because the wrong image was being used. For example, using the 32-bit x86 image on a 64-bit x86_64 platform.
However, in this scenario, the platforms do match. This occurs because the operating system is missing the prerequisite OS packages needed by DB2
Resolving the problem
Use the website links at the bottom of this page to verify that all the prerequisite packages are installed on the Linux machine based on the release of DB2 being installed. Install the missing packages then try the installation again.