OpenSuSE 11.2 and Lotus Notes 8.5

November 23, 2009

Recently I have migrated from Ubuntu to OpenSuSE due to my work requirements.

Since OpenSuSE is an RPM-based distro, I thought that Lotus Notes 8.5 would be easier to install. I was mistaken.

Lotus Notes 8.5 depends on some libraries that were updated on OpenSuSE 11.2 causing some panels to appears blank. After a weekend debuging I was able to isolate the required libraries.

Lotus Notes 8.5 Error: Blank Panel

Lotus Notes 8.5 Blank Panel

The trick is that Lotus Notes requires the following libraries from OpenSuSE 11.1 (note that I am running a 64-bit version, so your required library may be the default one):

  • gtk2-32bit
  • pango-32bit

Go to the OpenSuSE 11.1 repository and grab the packages but do not install. If you install it will break the GTK applications on your desktop.

The trick here is to use these libraries only for Notes. To achieve these we must extract the RPM in a temporary dir, move the lib file to a isolate path and create a wrapper for the Notes to use LD_DIRECTORY_PATH.

So, as a root, do the following:

# mkdir /tmp/rpmsextracted
# cd /tmp/rpmsextracted
# rpm2cpio <PATH_WHERE_DOWNLOADED_RPMS>/gtk2-32bit*.rpm | cpio -idmv
# rpm2cpio <PATH_WHERE_DOWNLOADED_RPMS>/pango-32bit*.rpm | cpio -idvm
# mkdir /opt/ibm/ibm-lotus-notes-compat
# mv /tmp/rpmsextracted/usr/lib /opt/ibm/ibm-lotus-notes-compat
# chmod 755 /opt/ibm/ibm-lotus-notes-compat/lib
# chown -R root:root /opt/ibm/ibm-lotus-notes-compat
# mv /opt/ibm/lotus/notes/notes /opt/ibm/lotus/notes/notes.real

Now you have the libraries on /opt/ibm/ibm-lotus-notes-compat, so lets create a wrapper. Create a new file /opt/ibm/lotus/notes/notes with execute permissions (chmod 755 /opt/ibm/lotus/notes/notes) and the following content:

#!/bin/bash

NOTESCOMPAT=/opt/ibm/ibm-lotus-notes-compat/lib
export LD_LIBRARY_PATH=$NOTESCOMPAT:/opt/ibm/lotus/notes:$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
/opt/ibm/lotus/notes/notes.real $@

That’s it. Now runs Notes and see if everything is working as expected.

Lotus Notes 8.5 Working as Expected

Lotus Notes 8.5 Working as Expected

Final Note: You must have other gtk libraries installed as well. If you are running 64-bits, make sure that you have the 32-bits libs installed.


Shockwave Theory applied on Traffic Jams

October 6, 2008

Japanese Scientists executed an experiment to demonstrate that some Traffic Jams can appear from nowhere due the shockwave principle. It’s amazing how the variation of speed may induce a complete stop on the traffic.


Video: Airtraffic density over 24h, just crazy!

September 27, 2008

This video on YouTube shows the air crafts on the world over a period of 24 hours.

It is amazing and terrifying. The amount of information required to manage all those air crafts is so huge, that even the smallest mistakes may lead to huge accidents.