SDB:Install IBM Lotus Notes 8.5.X

Jump to: navigation, search


Tested on openSUSE Recommended articles Related articles
Icon-checked.png

Icon-manual.png
  • None
Icon-help.png
  • None

IBM Lotus Notes Client for Linux installation and workarounds.

Situation

After installation of Lotus Notes client main mail windows is empty, reason is that Lotus expects older version of GTK libraries to be installed on system. This Howto will help you to install those older libraries into your system so you will be able to use Lotus Notes without problems. This procedure can be used even if fixpacks FP1 or FP2 are installed.
Versions tested with this workaround:

  • 8.5.2 - working
  • 8.5.3 - working

Procedure

Install Lotus Notes Client following IBM official installation documentation. After finishing installation please save those three files listed below to their corresponding names in folder of your choice. After saving them in folder open terminal and go to that folder. Let assume that folder is called lotus-install. Follow steps exactly

user@linux:~> cd lotus-install
user@linux:~/lotus-install> chmod 755 install.script notes.script
user@linux:~/lotus-install> su -c "./install.script"
Password:<enter root password>

From that moment you should see many lines which are doing required steps defined in script mentioned bellow.

This process will create run script for Lotus Notes Client that will be stored in /usr/bin/notes

Scripts and Required Files

install.script

#!/bin/sh

function unrpm () {
    rpm2cpio $1 |cpio --extract --unconditional --preserve-modification-time --make-directories
}


WORKDIR=/opt/lotus_notes_compat
# remove all files from folder if there is something we really don't need it
# or if download of some package failed ...
rm -rf ${WORKDIR}
mkdir -p ${WORKDIR}
cp notes.script ${WORKDIR}/notes.sh
cp packages.list ${WORKDIR}
# copy self if someone likes this script :)
cp install.script ${WORKDIR}
cd ${WORKDIR}
wget -i packages.list
for i in *.rpm ; do
  unrpm $i
done
find ${WORKDIR} -type d -exec chmod a+rx {} ';'
cd usr/share/themes
ln -s /usr/share/themes/* . 2> /dev/null # ignore existing folders...
rm -f /usr/bin/notes 2> /dev/null # remove stale link
ln -s ${WORKDIR}/notes.sh /usr/bin/notes
echo "From now on start Lotus notes with /usr/bin/notes script"


notes.script

#! /bin/sh
cd /opt/ibm/lotus/notes
NOTES_COMPAT=/opt/lotus_notes_compat/usr
NOTES_HOME=/opt/ibm/lotus/notes

LD_LIBRARY_PATH=${NOTES_HOME}:${NOTES_HOME}/jvm/bin/classic:${NOTES_COMPAT}/lib

GTK_DATA_PREFIX=${NOTES_COMPAT}

GTK_EXE_PREFIX=${NOTES_COMPAT}

# Unfortunatelly that does not work :(
#####ALL_RC_FILES=$(find -L /opt/ibm/lotus/notes/compat/share/themes -name  gtkrc -exec echo -n "{}:" ';')
#####GTK2_RC_FILES=${ALL_RC_FILES}

# this works :)
THEMES_FOLDER=${NOTES_COMPAT}/share/themes
export THEMES_FOLDER
######### Clearlooks theme
#GTK2_RC_FILES=${THEMES_FOLDER}/Default/gtk-2.0-key/gtkrc:${THEMES_FOLDER}/Clearlooks/gtk-2.0/gtkrc

######### Oxygen theme
GTK2_RC_FILES=${THEMES_FOLDER}/Default/gtk-2.0-key/gtkrc:${THEMES_FOLDER}/Oxygen-Molecule/gtk-2.0/gtkrc

######### Default Oxygen theme for opensuse version 11.4
#GTK2_RC_FILES=${THEMES_FOLDER}/Default/gtk-2.0-key/gtkrc:${THEMES_FOLDER}/oxygen-gtk/gtk-2.0/gtkrc

######### Synchronicity theme
#GTK2_RC_FILES=${THEMES_FOLDER}/Default/gtk-2.0-key/gtkrc:${THEMES_FOLDER}/Synchronicity/gtk-2.0/gtkrc

export LD_LIBRARY_PATH GDK_NATIVE_WINDOWS GTK2_RC_FILES GTK_DATA_PREFIX GTK_EXE_PREFIX

GDK_NATIVE_WINDOWS=true

exec /opt/ibm/lotus/notes/notes $@ &> $HOME/notes_nsf.log

packages.list

http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/gtk-32bit-1.2.10-1084.3.x86_64.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/pango-32bit-1.22.1-2.9.x86_64.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/qtcurve-gtk2-32bit-0.59.7-2.4.x86_64.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/gtk2-32bit-2.14.4-8.1.x86_64.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/libgnomeprint-32bit-2.18.5-1.20.x86_64.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/noarch/gtk2-metatheme-industrial-0.6.5-1.62.noarch.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/noarch/gtk2-theme-openSUSE-11.1-1.12.noarch.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/noarch/gtk2-themes-0.1-737.56.noarch.rpm
http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/gtk2-engines-32bit-2.16.1-4.1.x86_64.rpm