Monday 3 May 2010

Installing Notes 8.5.1 onto ubuntu lucid lynx x64

I thought I should document a step by step guide on how to install Lotus Notes 8.5.1 onto ubuntu 10.04 lucid lynx x64.
I am not sure if EVERY step is actually needed, however, I do know that by following these steps you will get Notes working on ubuntu lucid 10.04 x64

Firstly, download the following files from IBM account:
CZ5S5EN - Notes (Debian) 8.5.1.
This saves as a file named lotus_notes851_linuxUb_CZ5S5EN.tar
Open this file with Archive Manager and Extract to a temporary folder

CZDP6EN - Notes (Debian) 8.5.1 FP2.
This saves as a file named lotus_notes851FP2_linuxUb.tar
Open this file with Archive Manager and Extract to a temporary folder

Next, download getlibs-all.deb from:
http://frozenfox.freehostia.com/cappy/
Install getlibs by double clicking on the deb file

Next you will need access to libgnome-desktop-2-11 libraries. These are only available from ubuntu karmic so go to:
http://packages.ubuntu.com/karmic/libs/libgnome-desktop-2-11
and download both 64 bit (amd64) and 32 bit (i386) versions.
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 32 bit deb file in Archive Manager
Double click on data.tar.gz
Double click on .
Double click on usr
Double click on lib
Drag the libgnome-desktop-2.so.11.4.2 file to a temp folder
Copy the file to /usr/lib32
Create a symbolic link named libeel-2.so.2 like this:
cd /usr/lib32
sudo ln -s ./libgnome-desktop-2.so.11.4.2 ./libgnome-desktop-2.so.11

You will also need libeel2-2 which is only available from the ubuntu jaunty packages. However, the libeel2-2 library itself is dependent on the libeel2-data library. You must first download that by going to:
http://packages.ubuntu.com/jaunty/libeel2-data
Then click on the all and choose a mirror to download the "deb" file. Once downloaded, double Click on the file to install libeel2-data deb file

Now you need libeel2-2 so go to
http://packages.ubuntu.com/jaunty/libs/libeel2-2
Go to the bottom of the page and use the links to download both the 64 bit (amd64) and 32 bit (i386) versions (you will need to choose a suitable mirror)
Install the 64 bit version by double clicking on the downloaded 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 like this:
cd /usr/lib32
sudo ln -s ./libeel-2.so.2.26.0 ./libeel2.so.2

Now get some required libraries with
sudo apt-get install libgnomeprintui2.2-0 libgnomeprint2.2-0 ia32-libs ttf-xfree86-nonfree

Next, install the needed 32 libraries with:
sudo getlibs -p libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-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-murrine libesd0

From the temporary folder used above to extract the notes tar file, install Notes 8.5.1 with:
sudo dpkg -i --force-architecture ibm-lotus-notes-8.5.1.i586.deb
sudo dpkg -i --force-architecture ibm-lotus-sametime-8.5.1.i586.deb
And if you need composite application editor:
sudo dpkg -i --force-architecture ibm-lotus-cae-8.5.1.i586.deb
And if you want symphony:
sudo dpkg -i --force-architecture ibm-lotus-activities-8.5.1.i586.deb
And if you want support for activities:
sudo dpkg -i --force-architecture ibm-lotus-symphony-8.5.1.i586.deb

Next install Notes 8.5.1 fix pack 2 with:
sudo dpkg -i --force-architecture ibm-lotus-notes-fixpack-8.5.1.i586.deb

It appears that Lotus Notes will only work with 2.17 versions of gnome and you can download these from either:
http://www.benkevan.com/upload/lotus_notes
or
http://www.freetechie.com/upload/lotus_notes

Get the following gnome 2.17 libraries (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

Lastly, create the following symbolic link
cd /opt/ibm/lotus/notes/jvm/lib/i386
sudo mkdir usr
sudo ln -s /usr/lib32 ./usr/lib

You should now be able to start notes installation with
cd /opt/ibm/lotus/notes/framework
../notes

Thats it!

15 comments:

  1. Works, thanks for posting this. I have issues with icons, but other than that it's functional. During startup it complains that libmurine.so is wrong ELF class. You think this is causing the issues with icons?

    ReplyDelete
  2. Glad it worked for you ;D I'll do another test install tomorrow using KVM and I'll post my results back here.

    ReplyDelete
  3. Hi Everyone,

    I kept getting a dependency issue with libgnome-desktop-2-17 . Basically, do the following:

    - Extract the "control.tar.gz" file from ibm-lotus-notes-8.5.1.i586.deb file.
    - Then extract all files from that into a temp directory.
    - Edit the "control" file to include libgnome-desktop-2-17 as a compatible dependency.
    - Recreate "control.tar.gz" from files.
    - Do "sudo ar r ibm-lotus-notes-8.5.1.i586.deb control.tar.gz" to replace the file in the original .deb file.
    - Do "sudo dpkg -i ibm-lotus-notes-8.5.1.i586.deb" and then install the other Lotus .deb files.

    Hope that helps a bit.

    ReplyDelete
  4. I already have libgnome-desktop-2-17 installed -- do I really need this particular older library?

    ReplyDelete
  5. ok - I followed all your directions and I get a pop-up with the following error message:

    Notes error: Attempt to use an invalid slot number

    ReplyDelete
  6. Now I get another error pop-up:

    The next unread document is not selected by any view. You can read it but not navigate to other documents

    So the real question is - why do I get these errors and why won't Notes show me any of my email in the preview pane

    ReplyDelete
  7. Hi Kevin,
    Did you install from "scratch" or did you upgrade to lucid from a previous vrsion?
    When I did my installation of Notes it as on a brand new lucid and I also did my install without using my old id file. I did a brand new install and then did a "switch id" after copying all my old nsf files over.
    Something else is going on with your install though.
    /Marcus

    ReplyDelete
  8. Hi Marcus,

    I did install fresh - I formatted my hard drive, but then once it was done, I copied over all my files from my home directory backup. I did use my old id file - it shouldn't have anything in it that would keep the preview screen from showing email.

    Yes my install is just plain broken - so, there's something that I've done that no-one else has done.

    Sometimes I hate being unique! :-)

    ReplyDelete
  9. Hi Kevin,
    Could be your notes.ini or something in your previous installation getting in the way. I would suggest a fresh lucid and then an immediate Notes 8.5.1 (with FP1) install. Don't copy anything from your previous Notes installation until your "new" install is working. Then do a copy of nsf's + id only from your old install. That is what I did and my Notes works happily.
    All the best, /Marcus

    ReplyDelete
  10. Marcus,

    Thanks for the suggestion. What is nsfs?

    This isn't just a Notes installation - this is my workstation that I have hundreds of other programs installed on - reinstalling Ubuntu Lucid just to get Notes working isn't worth the effort.

    thanks again.

    ReplyDelete
  11. OK I understand. Try removing Notes on your existing installation (both binaries and data folders). Then do a new Notes install on your existing install - but do not copy over your existing *.nsf files (that is what I meant by nsf ' s previously)

    After you have got Notes working with a new Notes install ensure it works with the newly created id. Only with it working should you then copy all your *.nsf files (I would suggest that you DO NOT copy the notes.ini from your previous installation, just the notes databases with the nsf extension)

    You may even be able to copy back your *.dsk file for your workspace but I didn't do that.

    Hope you get it all working. /Marcus

    ReplyDelete
  12. Hi, I followed your instructions carefully, but I get the following message when I start the Notes installer: "Unable to access data directory '/opt/ibm/lotus/notes/framework' using preferences file '/home/tom/lotus/notes/data/notes.ini'". Do you know what's wrong? Thanks

    ReplyDelete
  13. Markus - all of a sudden today Notes client comes up and is working perfectly (as far as I can tell) in Ubuntu 10.04 LTS.

    Here's the only thing different today than normal:

    1) I have a doc open in Lotus Symphony - I normally use Open Office.

    2) I ran the data collector in Notes -> Help -> ISA

    Anyway - I am so happy that Notes client works in Ubuntu.

    ReplyDelete
  14. Wow. How long did it take to figure all the depenencies out? Tried these instructions on my system, and it worked like a charm. Finally native lotus on my machine! Thanks a lot for putting so much work in this.

    ReplyDelete
  15. Hi all

    I have just upgrade my ubuntu 10.04 Lucid to ubuntu 10.10 Maverick, My note still works, but it create a issue on my ubuntu bcz I am getting this message :

    wilson@ubuntu-10:~/DownloadDirector/Lotus Notes$ sudo dpkg --remove 8.5.1-20100524.0930_FP3
    warning, in file '/var/lib/dpkg/status' near line 659 package 'gtk2-engine-oria-amd64':
    missing description
    warning, in file '/var/lib/dpkg/status' near line 13969 package 'ibm-lotus-notes-fixpack':
    error in Version string '8.5.1-20100524.0930_FP3': invalid character in revision number
    warning, in file '/var/lib/dpkg/available' near line 708 package 'gtk2-engine-oria-amd64':
    missing description
    warning, in file '/var/lib/dpkg/available' near line 14690 package 'ibm-lotus-notes-fixpack':
    error in Version string '8.5.1-20100524.0930_FP3': invalid character in revision number
    dpkg: warning: ignoring request to remove 8.5.1-20100524.0930_fp3 which isn't installed.


    Some how it is preventing me to do others things like install my ATI driver and other things,

    I would like to know how can I remove so i can install it back, using the regular way to remove did not works due the same issues.

    Some how it is breaking out the dpkg application.

    I need help if anyone here had take this kind off problem

    wilsonpenha@hotmail.com

    Thx in advanced

    ReplyDelete