1

I have a problem with installation of IBM DB2, it tells me it didn't find libpam.so. Is there a package I have to install to correct the problem?

I used to find a solution on the web but I found nothing that managed to correct my problem.

Steve L
  • 51

3 Answers3

1

My worries is, that Ubuntu is not a supported system for DB2. if you look into this document: (http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.apdv.gs.doc%2Fdoc%2Fr0023433.htm) you will see, that Ubuntu is not listed there, but all red-hat-like systems are.

U can try to discover unsupported install of DB2 (I will not recommend it), or you can choose the proper way with different Linux distribution.

For development purposes you can stay on Ubuntu and run DB2 in a Virtual machine (VirtualBox, http://www.howopensource.com/2013/04/install-virtualbox-ubuntu-ppa/) and virtualize the supported server. For production server purpose better to choose proper OS, it will run on server, anyway, does not matter that this is not Ubuntu.

Dee
  • 1,986
0

Using Ubuntu Server I had the same issue. Just do the following steps:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libpam0g:i386 
0

Find out where libpam.so.0 exists on your machine under /lib. Copy this libpam.so.0 to /lib (don't create a soft link)

alok
  • 161