Monday, 22 March 2010

Lotus notes 8.5.1 on ubuntu 9.10 karmic x64

I revisited the installation of Lotus Notes 8.5.1 onto a brand new installation of ubuntu 9.10 karmic x64 and thought that some of you may like to know how I did it.

First of all it can definitely be done! Here's how:

In order to do a successful installation, you will need both the 64 bit AND the 32 bit versions of libstdc++5 from ubuntu jaunty repositories;
Get them from

http://packages.ubuntu.com/jaunty/libs/libstdc++5

For the 64bit version just click on the deb to install
For the 32bit version, open the deb with Archive Manager, navigate to data.tar.gz
keep drilling down to /./usr/lib and copy out the file libstdc++5.so.5.0.7 to /usr/lib
next create a symbolic link:

cd /usr/lib
sudo ln -s libstdc++5.so.5.0.7 libstdc++.so.5

Next open a terminal and run

sudo apt-get update

Install some fonts using

sudo apt-get install ttf-xfree86-nonfree

Install the 32 bit helper with

sudo apt-get install ia32-libs

Install libgnomeprint2.2-0 and libgnomeprintui2.2-0 with:

sudo apt-get install libgnomeprint2.2-0 and libgnomeprintui2.2-0

Download notes client for linux (it is a 32 bit client)
Download and install getlibs-all.deb from http://frozenfox.freehostia.com/cappy/

Now you will also need libeel2.2 from jaunty
For libeel2.2 to be picked up correctly with getlibs, do the following:
Use System > Administration > Softw
Add the following:

deb http://archive.ubuntu.com/ubunty jaunty main
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main

Now do this from a terminal
sudo getlibs -p libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libeel2-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libgnomeprint2.2-0 libgnomeprintui2.2-0 libgnomeui-0 libgnomevfs2-0 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libselinux1 libsepol1 libstartup-notification0 libxkbfile1 gtk2-engines-ubuntulooks gtk2-engines-murrine

You also need libeel2-2. Go here first:
http://packages.ubuntu.com/jaunty/libeel2-data
click the "all" link and download the deb file
Run the deb file by double clicking on it. This is a dependency of the libeel2-2 that is to be loaded next

Now go to
http://packages.ubuntu.com/jaunty/libeel2-2
Download the 64 bit version and the 32 bit version
Install the 64 bit version by double clicking on the deb file

To install the 32 bit version manually you have to do the following:
Open the deb file in Archive Manager
Double click on data.tar.gz
Double click on .
Double click on usr
Double click on lib
Drag the libeel-2.so.2.26.0 file to a temp folder
Copy the file to /usr/lib32
Create a symbolic link named libeel-2.so.2

Next install the notes deb files and force the architecture:

sudo dpkg -i --force-architecture ibm-lotus-notes-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-activities-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-cae-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-sametime-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-symphony-8.5.1.i586.deb

After installation, you must now copy some files into /opt/ibm/lotus/notes as follows:

Next some other hacks
cd /opt/ibm/lotus/notes/jvm/lib/i386
sudo mkdir usr
sudo ln -s /usr/lib32 ./usr/lib

Lastly go to
http://www.benkevan.com/upload/lotus_notes
or
http://www.freetechie.com/upload/lotus_notes

You need to get the gnome 2.17 libraries. They are the following four files (note the size)

116732 libgdk_pixbuf-2.0.so.0
67240 libgdk_pixbuf_xlib-2.0.so.0
679940 libgdk-x11-2.0.so.0
4579940 libgtk-x11-2.0.so.0

Copy each to
/opt/ibm/lotus/notes
Thats it!
Now you can start Lotus Notes 8.5.1 from the Applications > Office menu item

If you wish to install the fix pack then download from IBM and then use:

sudo dpkg -i --force-architecture ibm_lotus_notes_fixpack-8.5.1.i586.deb

6 comments:

  1. Hi Marcus,

    Great guide! I have been trying this out for a couple of days now with no luck. Hopefully you can help me out. I have Ubuntu 9.10 karmic x64. After following your guide a couple things:
    1) I don't see notes in the apps->office menu, but I am able to start it via:
    cd /opt/ibm/lotus/notes/framework
    ../notes
    2) I get the login window and am able to go through the setup (pointing to the id file, and my domino server etc). However at the end of it all, no GUI is displayed. Even though lnotes shows up in the running processes.
    3) In the terminal window I get the following error:

    Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

    (:6077): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
    04/01/2010 11:17:22.30 AM [06077:00002--207587472] DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
    04/01/2010 11:17:22.30 AM [06077:00002--207587472] DeskClientOpenInt> Executed CreateProgramRCP

    Let me know what you think. Your help is greatly appreciated!

    Saurabh

    ReplyDelete
  2. Just wanted to let you know that I got it working. I reinstalled ubuntu and followed your guide again and it worked this time. I have no idea what I did wrong the first time around.

    ReplyDelete
  3. Great guide, you made my day ma man!!

    ReplyDelete
  4. Thanks, actually if you do a default install of Lotus Notes in Ubuntu 32bit 11.10 - Oneiric Ocelot (perhaps due to my config settings) I was getting a blank workspace, and emails from Notes were blank too (both preview pane and opened)
    The last tip: download from: http://www.freetechie.com/upload/lotus_notes
    116732 libgdk_pixbuf-2.0.so.0
    67240 libgdk_pixbuf_xlib-2.0.so.0
    679940 libgdk-x11-2.0.so.0
    4579940 libgtk-x11-2.0.so.0
    has cured it, Lotus Notes now works fine for me!
    many thanks! :)

    ReplyDelete
  5. 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