Linux Mint - Free and powerful

Thursday, 4 October 2012

Install Lotus Notes 8.5.3 on Ubuntu 12.04 64bit « Usable Software's Backlog

Install Lotus Notes 8.5.3 on Ubuntu 12.04 64bit « Usable Software's Backlog:

'via Blog this'

Even Easier.




Install Lotus Notes 8.5.3 on Ubuntu 12.04 64bit


So here finally it comes – more detailed installation instructions. This time for the 64bit version of Precise Pangolin.
First uninstall all previous versions. Do this by “dpkg -l | grep lotus” then do “dpkg –purge name-of-lotus-package”. Also I cannot guarantee that the installation of 32bit libraries will not destroy aanyting else.
1) Create a folder for the files. In this case
mkdir ~/LN853install
cd ~/LN853install

2) Copy all Lotus files you want to install
tar xvf /media/externaldrive/Software/LotusNotes853/lotus_notes853_linuxUb_en.tar
@amd64:/home/anders/LN853install# ls -la
total 538676
drwxr-xr-x  2 root   root        4096 May  4 07:40 .
drwxr-xr-x 74 anders anders      4096 May  4 07:39 ..
-rwx——  1 root   root     5015238 Sep 16  2011 ibm-lotus-activities-8.5.3.i586.deb
-rwx——  1 root   root     3933118 Sep 16  2011 ibm-lotus-cae-8.5.3.i586.deb
-rwx——  1 root   root      108796 Sep 16  2011 ibm-lotus-feedreader-8.5.3.i586.deb
-rwx——  1 root   root   342247046 Sep 16  2011 ibm-lotus-notes-8.5.3.i586.deb
-rwx——  1 root   root    52945926 Sep 16  2011 ibm-lotus-sametime-8.5.3.i586.deb
-rwx——  1 root   root   146089190 Sep 16  2011 ibm-lotus-symphony-8.5.3.i586.deb
-rwx——  1 root   root     1218560 Sep 16  2011 license.tar
-rwx——  1 root   root        6815 Sep 16  2011 smartupgrade.sh
3) Modify packages to get them installed
Right click on ibm-lotus-notes-8.5.3.i586.deb in Nautilus and select Extract Here.
Navigate to folder, LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN. Right click on file control and select Open With Text Editor.
Remove all text after Pre-depends, Depends, Conflicts, Replaces:
Delete the original ibm-lotus-notes-8.5.3.i586.deb file. And open a terminal windows and navigate to /home/anders/LN853install and issue this command:
dpkg-deb -b ibm-lotus-notes-8.5.3.i586
dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.



Now delete the folder:
rm -rf ibm-lotus-notes-8.5.3.i586

4) Install extra libraries
sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree
5) Install getlibs
wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb
sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 206259 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …
6) Install compatibility libraries (some may not be needed, plz help me update this)
Hmm, /usr/lib32 seems to be replaced with /usr/lib/i386-linux-gnu/
See: https://help.ubuntu.com/community/MultiArch
I am a but unsure if the following part destroys anything. Please do not do this if you are unsure, wait for better instructions in coming blog post!
sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32

OR if unsure do this:
sudo mkdir /usr/lib32
Install command:
sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2  libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve  gtk2-engines-murrine gtk2-engines-equinox  alsa-base alsa-utils iproute libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4 libx11-6 libxt6 libxext6  libc6  libgcc1  libgtk2.0-0  libxkbfile1 libglib2.0-0  libstdc++6 bash libart-2.0-2 libpopt0 libgnomeui-0

7) Install Lotus Notes and Sametime etc
dpkg -i ibm-lotus-notes-8.5.3.i586.deb
dpkg -i ibm-lotus-feedreader-8.5.3.i586.deb
dpkg -i ibm-lotus-sametime-8.5.3.i586.deb
8) We are not really there yet
sudo apt-get install g++-multilib libgtk2.0-dev

9) GDK Fix
wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile
wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg
sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile
make
chmod +x notes-wrapper
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
Important: Note that the ‘ before s and after g is of type that is straight.
sudo sed -i ‘s/../notes %F/../notes-wrapper %F/g’ /usr/share/applications/LotusNotes8.5.desktop

10) Make notes-wrapper file look like this
Change all references to /anders/ to /yourusername/ also be careful with quotes so they are correct
nano /opt/ibm/lotus/notes/notes-wrapper
#!/bin/sh
cd `dirname “$0″`
echo “setting locale …”
LANGUAGE=”en_US.UTF-8″
LC_ALL=”en_US.UTF-8″
LANG=”en_US.UTF-8″
export LANGUAGE LC_ALL LANG
echo “setting notes environment …”
NOTESBIN=/opt/ibm/lotus/notes
NOTESDATA=/home/anders/lotus/notes/data
NOTESDIR=/home/anders/lotus/notes
LD_LIBRARY_PATH=$NOTESBIN:/usr/lib/i386-linux-gnu:$NOTESBIN/jvm/bin/classic:$NOTESBIN/jvm/bin:$LD_LIBRARY_PATH
PATH=$NOTESBIN/jvm/bin:$NOTESBIN:$PATH
CLASSPATH=./:$NOTESBIN/:$CLASSPATH
export NOTESBIN NOTESDATA NOTESDIR LD_LIBRARY_PATH PATH CLASSPATH
#/opt/ibm/Workplace Managed Client/rcp/richclient -personality com.ibm.workplace.noteswc.standalone.linux.personality
echo “starting notes …”
LD_PRELOAD=`pwd`/libnotesgtkfix.so `pwd`/notes $*
11) Symlinks
sudo ln -s /usr/lib32/i386-linux-gnu/libgnomeui-2.so.0 /usr/lib32/libgnomeui-2.so.0
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/libavahi-glib.so.1
sudo ln -s /lib32/i386-linux-gnu/libpopt.so.0 /usr/lib32/libpopt.so.0
sudo ln -s /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib32/libcanberra-gtk-module.so
sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBitCosNaming-2.so.0 /usr/lib32
sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBit-2.so.0 /usr/lib32

12) Speed it up
sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties

13) Go nag on IBM to make software that is more linux compatible!!

2 comments :

  1. Just installed Notes 9 on Ubuntu 64 without problems. Maybe upgrading to this version will solve all problems that I have read about the 8.5.x client.

    http://iwonthemove.wordpress.com/2013/07/26/ibm-notes-9-0-ubuntu-64/ (for reading on how)

    ReplyDelete
  2. Just installed Notes 9 on Ubuntu 64 without problems.
    No forcing installation

    http://wp.me/p1CuQM-hQ

    For reading on how to

    ReplyDelete

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers

Pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123. Powered by Blogger.