64-bit DB2 10.5 missing 32-bit libpam and 64-bit libaio on Ubuntu 12.04

On Ubuntu server 14.04.02 (64 bit) I had to install the following packages before installing DB2 10.5:

  • libx32stdc++6
  • libpam0g:i386
  • libaio1

You may have to run ldconfig after installing the i386 version of the pam library; DB2 searches the linker cache for it's dependencies, so if it's installed and there is an entry in /etc/ld.so.cache.d/, it should find it if ldconfig has been run.

Running something like strace db2 connect to sample will give you a lot of information.