HTML5, CSS3, jQuery, JSON, Responsive Design...

Notes on Natty 64-bit

Michael Brown   June 11 2011 10:50:27 PM
Having successfully installed Notes on my 32-bit version of Ubuntu 11.04 (a.k.a "Natty Narhwal"), I treated myself to a new PC!  With 8 Gig of RAM on board, it seemed a waste to still use the 32-bit version of Ubuntu, which can see less than half of that RAM.

It takes some serious hacking to get Notes 8.5.2 working on it, but it can be done, and here's the proof:



I've pieced this guide together from several difference sources, but the main one was this post from Useable Software's Blog.  All credit to him (her?) and the people that responded on that post.

Warning: this guide requires installation of various files from unknown sources - unknown by me, anyway - which may stuff up your system or worse.  It didn't do that for me, but don't say you weren't warned if you come to grief.

Removing Dependencies from the .deb file

If you install the ibm-lotus-notes-8.5.2.i586.deb on 64-bit Ubuntu by one of the normal methods - e.g. sudo dkpg -i - the installer will tell you "package architecture (i386) does not match system (amd64)" and will refuse to install.  Although you can override this restriction with the dpkg command's  --force-architecture switch, that won't work for Notes, I'm afraid.  The installer will run through, but at the end it will complain about a number of missing dependencies and Notes will not have installed correctly.  Our first job then is to remove these dependancies from the installer .deb file.
  1. Right click on your ibm-lotus-notes-8.5.2.i586.deb installer file and pick Open With->Archive Manager from the pop-up menu.

  2. In Archive Manager, extract the three folders to another folder, somewhere on your hard drive.  Call this new folder "notesdebsource" or something like that.  Note: the drive to which you extract the folders must be a Linux formatted partition - e.g. EXT3 or EXT4 -  and not an NTFS or FAT32 formatted partition. Otherwise you will run into file permission errors when you try to build your new .deb in step 6.

  3. Navigate to the DEBIAN folder within your new debsource folder, and edit the file called "control" using Ubuntu's text editor, Gedit.

  4. Within Gedit, you need to remove the list of dependencies.  Look for the line that starts "Dependencies:".  You need to delete everything following that, down to (but not including) the line that starts "Recommends:".  Save the modified control file when you're done.

  5. Open a terminal console and cd to the folder in which you created the notesdebsource folder.  (Note  don't cd into the notesdebsource folder itself.  If notesdebsource is on your Desktop then you need to cd to your Desktop folder.)  To kick off the build of the new .deb file, enter the following into the console:
    dpkg-deb --build notesdebsource ibm-lotus-notes-8.5.2.i586_nodependencies.deb
    Note: that's two dashes in front of the word "build".

  6. Let dpkg --build do its thing.  It may take a couple of minutes, depending on how fast your PC is.  If you get any file permission errors at this point, enter the following into the console:
    sudo chmod 755 notesdebsource -R
    Now run the dpkg-deb --build again.

  7. When dpgk-deb --build has finished, you should have a new deb installer file called ibm-lotus-notes-8.5.2.i586_nodependencies.deb.  Install Notes using this file, using the --force-architecture switch, i.e.:
    sudo dpkg -i ibm-lotus-notes-8.5.2.i586_nodependencies.deb --force-architecture
    If that doesn't work, try the --force-all switch instead of --force-architecture.



Installing compatibility libraries

Notes should now be installed, but probably won't run if you try it.  You need to install some extra computability libraries using a program called getlibs.
  1. To download and install getlibs, enter the following into a console:
    wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
    sudo dpkg -i getlibs-all.deb

  2. Now getlibs is installed, tell it to install the extra compatibility libraries by pasting the following into a console:
    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-murrine gtk2-engines libgnome-desktop-2-17




Post-installation config

Try running Notes.  If it still doesn't work, you need to compile and install a new libnotesgtkfix.so file, by using the steps below (which are taken directly from Useable Software's Blog post.)
  1. You may need to install some extra Ubuntu libraries in order to do the compile.  Type the following into a console:
    sudo apt-get install g++-multilib libgtk2.0-dev

  2. Download a .tar file from https://github.com/sgh/lotus-notes_gtk2.23.3

  3. Extract the contents of the tar file to a folder

  4. Use Gedit to edit the file called "Makefile" that you just extracted.  You need to put the text “-m32″ into the gcc command line so it looks like this “gcc -Wall -Wextra -m32 `pkg-config …….”  Save the MakeFile when you're done.

  5. In your console window, you need to cd to folder where your extracted files, including the modified MakeFile, are located.  Just type "make" in the console to kick off the compile

  6. Now you need to copy your new file to the correct program folder, like so:
    sudo cp libnotesgtkfix.so /opt/ibm/lotus/notes/

  7. Finally, you may also need to make a symlink for another needed library:
    sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/



You're done at last!  Notes should now run.

If you have further problems with menus and/or the Notes Workspace not appearing, then need to copy in the four libraries that were necessary to run Notes on  Karmic Koala (Ubuntu 9.10).
As ever though, the fonts won't look great, but you can add some extra ones get it to display better.  Type this code into a terminal to take care of that:

sudo apt-get install ttf-xfree86-nonfree

Comments

1Harald Gaerttner  06/14/2011 3:51:36 AM  Notes on Natty 64-bit

Great step-by-step instructions!

How is your experience with the performance of Notes on your 64-bit system?

Had it on 32-bit 10.10 Ubuntu with 4 GB and wasn't impressed. So far using WebAccess on my Natty 64-bit but considering an installation (and maybe upgrading to 8GB) if it's worth the effort.

Thanks

Harald

2Mike Brown  06/14/2011 5:00:34 AM  Notes on Natty 64-bit

Harald,

Performance fine. But as I said at the start, it's a brand new PC! It has a Sandy Bridge processor and an SSD for the O/S and main applications, including Notes. Pretty much everything is flying at the moment!

Did you try the jvm.properties file performance tweaks? { Link }

3Harald Gaerttner  06/14/2011 8:38:16 AM  Notes on Natty 64-bit

Thanks ... no haven't tried this with Linux

Just used it on Windows

Worth a try :-)

4Andrew  11/03/2011 2:06:47 PM  Notes on Natty 64-bit

Have you had any success on running 8.5.3 on Oneiric 64bit?

I hate Unity so am using Gnome Shell and have followed all the same steps, Notes installed but I can't open any databases. When I try opening my Mail db, I get:

CWPCA8515E: Application failed to open: Notes 8.0 Mail Calendar ToDo Applications

Any suggestions?

5Mike Brown  11/03/2011 3:45:00 PM  Notes on Natty 64-bit

@Andrew,

You got further than me; I've not even managed to get it installed on Oneiric 64-bit yet!

There's a thread on the the Ubuntu Forums that may be some help:

{ Link }

About