jump to navigation

Lotus Notes 8 on Ubuntu 64-bit November 9, 2007

Posted by claudio in Uncategorized.
Tags: , , , , ,
trackback

Ok, let’s be clear. Lotus Notes sucks. However, on my workplace all mail and calendar (meetings!) are administered through Lotus Notes on Windows. I run GNU/Linux (Ubuntu). All the hassle show how close source software sucks if you have configuration slightly different that expected by the seller. I am not running Windows or 32-bit RedHat. This post is a work in progress and will be adapted.

This is what I did to get the client running on Ubuntu 7.10 amd64:

1. Install the prepackaged 32bit libs.
$ sudo apt-get install ttf-xfree86-nonfree gawk `apt-cache search lib32 |awk ‘{print $1}’ |grep -v “\-dev” | grep -v “\-dbg”`

2. Get i386 debs

In Downloads:
mkdir debs debs_tmp
cd debs

$ ls
libavahi-client3_0.6.20-2ubuntu3_i386.deb
libavahi-common3_0.6.20-2ubuntu3_i386.deb
libavahi-glib1_0.6.20-2ubuntu3_i386.deb
libbonoboui2-0_2.20.0-0ubuntu1_i386.deb
libcroco3_0.6.1-1build2_i386.deb
libdbus-1-3_1.1.1-3ubuntu4_i386.deb
libdbus-glib-1-2_0.74-1_i386.deb
libeel2-2_2.20.0-0ubuntu1_i386.deb
libgnome2-0_2.20.0-1ubuntu4_i386.deb
libgnomecanvas2-0_2.20.0-1ubuntu1_i386.deb
libgnome-desktop-2_2.20.0-0ubuntu1_i386.deb
libgnome-keyring0_2.20-0ubuntu4_i386.deb
libgnome-menu2_2.20.0-0ubuntu1_i386.deb
libgnomeprint2.2-0_2.18.2-0ubuntu1_i386.deb
libgnomeprintui2.2-0_2.18.1-0ubuntu1_i386.deb
libgnomeui-0_2.20.0-0ubuntu1_i386.deb
libgnomevfs2-0_2.20.0-0ubuntu3_i386.deb
libgsf-1-114_1.14.7-0ubuntu1_i386.deb
libgsf-1-dev_1.14.7-0ubuntu1_i386.deb
librsvg2-2_2.18.2-1_i386.deb
librsvg2-common_2.18.2-1_i386.deb
libselinux1_2.0.15-2ubuntu1_i386.deb
libsepol1_2.0.3-1_i386.deb
libstartup-notification0_0.9-1_i386.deb
libxkbfile1_1.0.3-0ubuntu1_i386.deb

( Find the files like this:
apt-cache show libgnome2-0 |grep Filename:|cut -d” ” -f2
pool/main/libg/libgnome/libgnome2-0_2.20.0-1ubuntu4_amd64.deb
-> wget http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgnome/libgnome2-0_2.20.0-1ubuntu4_i386.deb )

3. Extract the libraries.
$ cd ../debs_tmp ; for i in ../debs/*_i386.deb; do ar x $i; tar xvzf data.tar.gz; done

4. Copy the libraries to a suitable place:
sudo cp -r usr/lib/* /opt/32bit_libs; sudo cp -r lib/* /opt/32bit_libs

5. Install Lotus Notes 8
# LD_LIBRARY_PATH=/opt/32bit_libs ./setup.sh -V useNotesDataForWorkspace=”true”

6. Fix rights (hack)
$ sudo chown -R $USER /opt/ibm

7. Run Notes
LD_LIBRARY_PATH=/opt/32bit_libs /opt/ibm/lotus/notes/framework/../notes

8. The Internal Browser is disabled (You probably need to compile a 32 bit firefox or mozilla)

Go To File – PReferences – Web Browser – “Use the browser that I have set for this operating system

TODO:

  • If I ever need the terrible Notes Browser and fix it, I’ll post it here (needs 32-bit mozilla or firefox).
  • Displaying and saving attachments work. Opening them from notes not yet (32-64 lib mix-up for gnome-vfs).
  • Probably more 32-bit libs are used by the program. When I use a functionality requiring one of those libraries I’ll update the package list.
  • If you get an error when creating a new mail, just create the directory mentioned in the error (/tmp/notes<something>).
About these ads

Comments»

1. ryland - November 13, 2007

This is great information and very timely, as I’ve just decided to start using x64 Gutsy full time at work. I think I’m pretty close to getting this to work, so I hope you might be able to help.

When I try to start notes with my regular user account, nothing happens, I just get a command prompt. Same thing (namely nothing)happens if I try to run it from the application menu. However if I login as root, the application starts up and runs upto a point where it says I can’t run Lotus notes as root.

I ran step 6 and verfied that my user is owner of all of /opt/ibm and below. I’m guessing that this has something to do with the JRE. Any ideas?

2. ryland - November 13, 2007

Nevermind. I just deleted the lotus sub-directory in my home directory. It was owned by root. Everything works now. Thanks again for your help!

3. claudio - November 13, 2007

You answer faster than your shadow :). It has been extremely busy days at work, so I haven’t test it further. I feel we are almost there as all the important settings I tested do work (sending and receiving mail, calender, scheduling meetings, save documents, creating and applying mail rules, etc).

4. KampfCaspar - March 6, 2008

Before you loose your sanity trying to install notes8, please verify your path does NOT contain symlinks… I usually have /opt symlinked to /usr/local and all the installer did, was jumping directly to 100% and telling me about success….

Installing directly into /usr/local worked fine, though… ;)

5. Gianpietro - May 22, 2008

Good Tutorial, still I don’t get why Lotus sucks … It’s a great working tool and I love to have it available on my linux/windows/Mac Boxes.

Cheerio and many thanks

6. radekk - May 23, 2008

If you want to open atachments, you will change openwitch command in Notes:

sudo mv /opt/IBM/Lotus/Notes/openwith /opt/IBM/Lotus/Notes/openwith.orig
sudo cp /usr/bin/gnome-open /opt/IBM/Lotus/Notes/openwith

7. Jason H - June 29, 2008

Here’s a little script to simplify downloading all those packages:

#!/bin/bash

allPacks=( “libavahi-client3″ “libavahi-common3″ “libavahi-glib1″ “libbonoboui2-0″ “libcroco3″ “libdbus-1-3″ “libdbus-glib-1-2″ “libeel2-2″ “libgnome2-0″ “libgnomecanvas2-0″ “libgnome-desktop-2″ “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″ )

for PACK in ${allPacks[@]}; do
wget http://us.archive.ubuntu.com/ubuntu/`apt-cache show ${PACK} |grep Filename:|cut -d’ ‘ -f2 | sed ‘s/amd64/i386/g’`

done

8. Kevin - July 2, 2008

Anyone run into a problem where the installation wizard window is blank? First screen after running setup. It’s using the bundled JRE. I can’t get around this.

9. James - July 9, 2008

Don’t suppose you have any suggestions for Hardy Heron and 64Bit. I’ve tried your tutorial and the system just won’t start up in GUI mode. I’ve also disabled any Compiz activity on my X Server. The following link is similar to your tutorial, but their suggestions don’t work either.

http://www-10.lotus.com/ldd/nd8forum.nsf/DateAllThreadedWeb/54e3c4fd8c4b45e58525740e006285f6?OpenDocument

I’m trying console mode now for the install, but it’s bombing out because there is not /etc/lotus/notes/notesrc file. Well Duh! It’s not installed yet.

I’m truly disappointed in IBM for realeasing a product that is so damned difficult to install. The entire world is moving to 64bit and I hear 8.5 is not available in 64Bit either and yet, Lenovo sells 64Bit laptops!! I’m sure this would all work just fine if IBM would quit packaging their own JAVA with all of their Apps.

Sorry, had to rant a bit. So, anybody got this working on Hardy Heron yet?

10. Chris - December 10, 2008

So has anyone tried to get 8.5 to install on Ubuntu 8.10 64-bit yet?

11. espakm - December 16, 2008

I tried it.
The packages can be installed using “dpkg -i –force-architecture some-package.i586.deb”.

I created a script putting these things above all together. The program starts, asks for login information, and crashes when it tries to connect to the domino server, because it tries to load a library from /usr/lib (64 bit). The equivalent 32 bit lib is under /opt/lib32, and LD_LIBRARY_PATH is set.

The script:
#!/bin/bash

apt-get install ttf-xfree86-nonfree gawk `apt-cache search lib32 | cut -d’ ‘ -f 1 | grep -v “\-dev” | grep -v “\-dbg”`

mkdir debs debs_tmp
cd debs

allPacks=(
libavahi-client3
libavahi-common3
libavahi-glib1
libbonoboui2-0
libcroco3
libdbus-1-3
libdbus-glib-1-2
libeel2-2
libgnome2-0
libgnomecanvas2-0
libgnome-desktop-2
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
gvfs
)

for PACK in ${allPacks[@]}
do
wget http://us.archive.ubuntu.com/ubuntu/`apt-cache show ${PACK} | grep Filename: | cut -d’ ‘ -f2 | sed ‘s/amd64/i386/g’`
done

cd ../debs_tmp
for i in ../debs/*_i386.deb
do
ar x $i
tar xvzf data.tar.gz
done

mkdir /opt/lib32 2> /dev/null
cp -r usr/lib/* /opt/lib32
cp -r lib/* /opt/lib32
echo
echo “You can start the program by the following command:”
echo
echo “LD_LIBRARY_PATH=/opt/lib32″
echo “/opt/ibm/lotus/notes/notes”
echo
echo “If the program crashes, remove ~/lotus and you may try it again.”
echo

12. yarselrach - April 26, 2009

I can’t get it to run in Fedora 64bit. It is installed however, it does not continue on the setup.

13. MefhigosetH - June 9, 2009

Hey !
Don’t cry…
Read this excelente guide to get Notes 8.5 in Ubuntu 9.04 64-bit running ! This work !

http://www.rayd.co.uk/blogs/rayblog.nsf/d6plinks/Ubuntu64

Seeya

14. Hey me - August 26, 2009

@MefhigosetH
Except that it gives a 404 not found web error.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 142 other followers

%d bloggers like this: