Wednesday, November 3, 2010

Can TDIv7.1 be Installed on Ubuntu?

I've recently come accross colleagues looking to install IBM Tivoli Directory Integrator v7.1 on Ubuntu. Ubuntu isn't in the list of supported platforms for this product, although I believe we should be able to make this work.



TDI v7.0 - Ubuntu 9.05
As a reference, here's my past experience with TDIv7.0 and Ubuntu 9.10
I started with a fresh installation of Ubuntu 9.10 with the latest patches.

1.) Log on as a normal user.

2.) Install the libstdc++5 dependency by running the following from a command prompt:

sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb

3.) Launch the TDI installer as the current user. Do not use sudo:

./install_tdiv71_linux_x86.bin

4.) Install to some location within the current users home directory such as /home/jamie/opt/IBM/TDI/V7.1

5.) Keep all other options as default in the installer.

6.) Fix the known issue with GTK by modifying ibmditk (Found in /home/jamie/opt/IBM/TDI/V7.1 on my system) and modify it as follows:

#
# CMDFINDER holds the command which is used to find other commands
# depending on the platform.
#

CMDFINDER=which
export GDK_NATIVE_WINDOWS=1
UNAME_OS=`uname`

7.) Launch ibmditk and as the currently logged in user without using sudo and it should run fine.




TDI v7.1 - Ubuntu 10.10
1. I have a fresh copy of Ubuntu 10.10
2. Check to make sure Ubuntu has the latest patches applied.
3. Have to install an old library -- The original libstdc++5 package is no longer available with the Ubuntu 9.10 or 10.x repos. So for 32 bit system you would have to get it from Jaunty Repository.

a. Add the repository
`deb http://cz.archive.ubuntu.com/ubuntu jaunty main universe` to the Repository list in Synaptic Package Manager.
b. At a terminal window run 'sudo apt-get install libstdc++5'
Note: If this package is not installed. The 'ibmdisrv -d' command will receive the following error in the ibmdi.log
"CTGDIS958E The system cannot find an enrolled product license."
If you've hit this error, you'll need to uninstall TDI, install the libstdc++5, then reinstall TDI.
c. You also need to run the following command, to rebuild the cache in order for the installer to find the library.
/sbin/ldconfig -v
4. Launch the TDI Installer (linux_x86/install_tdiv71_linux_x86.bin) as the current user. I am not installing with sudo. This installation is being done as a non-root user.
a. I selected a directory under my home directory for the install location.
b. I selected the Typical Install Set, whether then Custom
c. Pre-Installation Summary appeared.
d. The install completed successfully.


No comments:

Post a Comment