Install Lotus Notes 8.5.3 on Ubuntu 12.04 64bit

2012/05/04

So here finally it comes – more detailed installation instructions. This time for the 64bit version of Precise Pangolin.

First uninstall all previous versions. Do this by “dpkg -l | grep lotus” then do “dpkg –purge name-of-lotus-package”. Also I cannot guarantee that the installation of 32bit libraries will not destroy aanyting else.

1) Create a folder for the files. In this case

mkdir ~/LN853install

cd ~/LN853install


2) Copy all Lotus files you want to install

tar xvf /media/externaldrive/Software/LotusNotes853/lotus_notes853_linuxUb_en.tar

@amd64:/home/anders/LN853install# ls -la

total 538676

drwxr-xr-x  2 root   root        4096 May  4 07:40 .

drwxr-xr-x 74 anders anders      4096 May  4 07:39 ..

-rwx——  1 root   root     5015238 Sep 16  2011 ibm-lotus-activities-8.5.3.i586.deb

-rwx——  1 root   root     3933118 Sep 16  2011 ibm-lotus-cae-8.5.3.i586.deb

-rwx——  1 root   root      108796 Sep 16  2011 ibm-lotus-feedreader-8.5.3.i586.deb

-rwx——  1 root   root   342247046 Sep 16  2011 ibm-lotus-notes-8.5.3.i586.deb

-rwx——  1 root   root    52945926 Sep 16  2011 ibm-lotus-sametime-8.5.3.i586.deb

-rwx——  1 root   root   146089190 Sep 16  2011 ibm-lotus-symphony-8.5.3.i586.deb

-rwx——  1 root   root     1218560 Sep 16  2011 license.tar

-rwx——  1 root   root        6815 Sep 16  2011 smartupgrade.sh

3) Modify packages to get them installed
Right click on ibm-lotus-notes-8.5.3.i586.deb in Nautilus and select Extract Here.
Navigate to folder, LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN. Right click on file control and select Open With Text Editor.
Remove all text after Pre-depends, Depends, Conflicts, Replaces:
Delete the original ibm-lotus-notes-8.5.3.i586.deb file. And open a terminal windows and navigate to /home/anders/LN853install and issue this command:
dpkg-deb -b ibm-lotus-notes-8.5.3.i586
dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.



Now delete the folder:
rm -rf ibm-lotus-notes-8.5.3.i586

4) Install extra libraries

sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree

5) Install getlibs

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 206259 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …

6) Install compatibility libraries (some may not be needed, plz help me update this)

Hmm, /usr/lib32 seems to be replaced with /usr/lib/i386-linux-gnu/

See: https://help.ubuntu.com/community/MultiArch

I am a but unsure if the following part destroys anything. Please do not do this if you are unsure, wait for better instructions in coming blog post!

sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32

OR if unsure do this:

sudo mkdir /usr/lib32

Install command:

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 libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve  gtk2-engines-murrine gtk2-engines-equinox  alsa-base alsa-utils iproute libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4 libx11-6 libxt6 libxext6  libc6  libgcc1  libgtk2.0-0  libxkbfile1 libglib2.0-0  libstdc++6 bash libart-2.0-2 libpopt0 libgnomeui-0


7) Install Lotus Notes and Sametime etc

dpkg -i ibm-lotus-notes-8.5.3.i586.deb

dpkg -i ibm-lotus-feedreader-8.5.3.i586.deb

dpkg -i ibm-lotus-sametime-8.5.3.i586.deb

8) We are not really there yet

sudo apt-get install g++-multilib libgtk2.0-dev


9) GDK Fix

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg

sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile

make

chmod +x notes-wrapper

sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/

Important: Note that the ‘ before s and after g is of type that is straight.

sudo sed -i ‘s/../notes %F/../notes-wrapper %F/g’ /usr/share/applications/LotusNotes8.5.desktop


10) Make notes-wrapper file look like this

Change all references to /anders/ to /yourusername/ also be careful with quotes so they are correct

nano /opt/ibm/lotus/notes/notes-wrapper

#!/bin/sh

cd `dirname “$0″`

echo “setting locale …”

LANGUAGE=”en_US.UTF-8″

LC_ALL=”en_US.UTF-8″

LANG=”en_US.UTF-8″

export LANGUAGE LC_ALL LANG

echo “setting notes environment …”

NOTESBIN=/opt/ibm/lotus/notes

NOTESDATA=/home/anders/lotus/notes/data

NOTESDIR=/home/anders/lotus/notes

LD_LIBRARY_PATH=$NOTESBIN:/usr/lib/i386-linux-gnu:$NOTESBIN/jvm/bin/classic:$NOTESBIN/jvm/bin:$LD_LIBRARY_PATH

PATH=$NOTESBIN/jvm/bin:$NOTESBIN:$PATH

CLASSPATH=./:$NOTESBIN/:$CLASSPATH

export NOTESBIN NOTESDATA NOTESDIR LD_LIBRARY_PATH PATH CLASSPATH

#/opt/ibm/Workplace Managed Client/rcp/richclient -personality com.ibm.workplace.noteswc.standalone.linux.personality

echo “starting notes …”

LD_PRELOAD=`pwd`/libnotesgtkfix.so `pwd`/notes $*

11) Symlinks

sudo ln -s /usr/lib32/i386-linux-gnu/libgnomeui-2.so.0 /usr/lib32/libgnomeui-2.so.0
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/libavahi-glib.so.1
sudo ln -s /lib32/i386-linux-gnu/libpopt.so.0 /usr/lib32/libpopt.so.0
sudo ln -s /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib32/libcanberra-gtk-module.so

sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBitCosNaming-2.so.0 /usr/lib32

sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBit-2.so.0 /usr/lib32


12) Speed it up

sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties


13) Go nag on IBM to make software that is more linux compatible!!

Advertisements

Testing Blogilo

2012/04/29

Using Ubuntu 12.04 I have installe Blogilo and hopefully it will work well with both images and syntax highlightning.

Here is an image:

Test
Here is some code:
if not then bla bla
end if

[Update] Image worked  well but no special support for syntax hightlightning or anything lite that.

Speed up Lotus Notes 8.5.X on Mac Os X

2012/04/24

And here is the same Java optimization flag for Mac Os X in a script. I have no idea how to push out a setting like this on a company that has Mac and Lotus Notes.

This script has not been tested by me!  Thanks to Skellefteå for providing this script.

#!/bin/sh
FILE=”/Applications/Notes.app/Contents/MacOS/rcp/deploy/jvm.properties”
grep -iq “vmarg.xmx” $FILE
if [ $? -eq 0 ]; then
sed -i “” “s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g” $FILE
else
echo “vmarg.Xmx=-Xmx768m” >> $FILE
fi

Speed up Lotus Notes on Windows

2012/04/24

Here is VBScript code for setting the Java optimization flag for Lotus Notes on Windows, that you can use to speed up Lotus Notes in your company using Group Policies. It should work on Windows 7 and on Windows XP, both 32 and 64 bit.

Please give feedback if you have anything to add here. I would like to do a better script. When I tested this it worked as intended. I thing it breaks the jvp.properties file by changing the line break to Windows type (originally unix style). But Notes does not seem to mind this.

Thanks to Hogis for the original code and sorry that comments are in Swedish.

 

 

‘Speed up notes 2012-04-23

‘0 Initiera variabler
Set objFSO = CreateObject(“Scripting.FileSystemObject”) ‘Laddar FSO (File System Object) för att hantera kataloger och filer lokalt.
Set oShell = CreateObject(“WScript.Shell”) ‘Laddar oShell för att bla kunna ta ut systemvariabler, “set-parametrar”.
Set objWMIService = GetObject(“winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2”) ‘Connectar WMI lokalt (Windows Management Instrumentation), för att hantera processer.
Set WshShell = WScript.CreateObject(“WScript.Shell”) ‘Laddar WshShell för att kunna starta en cmd-process.
Dim strProgramPath32
Dim strProgramPath64
strProgramPath32 = oShell.ExpandEnvironmentStrings(“%PROGRAMFILES%”) ‘Tar ut sökvägen till programkatalogen.
strProgramPath64 = oShell.ExpandEnvironmentStrings(“%PROGRAMFILES(x86)%”)
Const ForReading = 1
Const ForWriting = 2

On Error Resume Next ‘ Avbryt inte för errors

Const HKEY_CLASSES_ROOT         = &H80000000
Const HKEY_CURRENT_USER         = &H80000001
Const HKEY_LOCAL_MACHINE        = &H80000002
Const HKEY_USERS                = &H80000003
Const HKEY_CURRENT_CONFIG         = &H80000005
Set oRegistry=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv”)

MemoryOptimizeNotes ‘Run this

Sub MemoryOptimizeNotes
Dim strJvmProp32
Dim strJvmProp64
Dim objFile
strJvmProp32 = strProgramPath32 & “\IBM\Lotus\Notes\framework\rcp\deploy\”
strJvmProp64 = strProgramPath64 & “\IBM\Lotus\Notes\framework\rcp\deploy\”

If objFSO.FolderExists(strJvmProp64) = True Then

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objFile = objFSO.OpenTextFile(strJvmProp64 & “jvm.properties”, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, “vmarg.Xmx=-Xmx256m”, “vmarg.Xmx=-Xmx768m”)

Set objFile = objFSO.OpenTextFile(strJvmProp64 & “jvm.properties”, ForWriting)
objFile.WriteLine strNewText
objFile.Close

ElseIf objFSO.FolderExists(strJvmProp32) = True Then

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objFile = objFSO.OpenTextFile(strJvmProp32 & “jvm.properties”, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, “vmarg.Xmx=-Xmx256m”, “vmarg.Xmx=-Xmx768m”)

Set objFile = objFSO.OpenTextFile(strJvmProp32 & “jvm.properties”, ForWriting)
objFile.WriteLine strNewText
objFile.Close

End If

End Sub

Quick ‘n Dirty install guide: Lotus Notes 8.5.X on Ubuntu 12.04 32bit

2012/04/23

This is for 32bit version of Lotus Notes. I do not know how to install on 64bit Ubuntu yet. Please provide me with instructions if you can.

On Lotus Notes beta forum IBM have hinted that 8.5.4 will support Ubuntu 64. Hopefully this will be the case!

sudo apt-get install libgnomeprint2.2-0 libgnomeprintui2.2-0 ttf-xfree86-nonfree libgnomevfs2-0 libgnome2-0 libgnomeui-0

(unpack deb-file, modify CONTROL file removing any dependencies, pack deb-file – instructions below)

sudo dpkg -i ibm-lotus-notes-8.5.3.i586.deb
sudo dpkg -i –force-all ibm-lotus-sametime-8.5.3.i586.deb ibm-lotus-activities-8.5.3.i586.deb

 

Modify CONTROL file in deb file:

In Nautilus, right click on ibm-lotus-notes-8.5.3.i586.deb and select extract here. When extracting finished then Rename file ibm-lotus-notes-8.5.3.i586.deb to somehting else.

Enter folder LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN and open file CONTROL in text editor.

Make sure following lines are empty

Pre-Depends:
Depends:
Recommends:
Conflicts:
So nothing after colon!  Now save the file.

Convert them to debs again!
sudo dpkg-deb -b ibm-lotus-notes-8.5.3.i586
dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.

Speed up Lotus Notes 8.5.X with a oneliner

2012/04/23

Works only on linux of cource! :-)
cat /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties | grep Xmx
> vmarg.Xmx=-Xmx256m

In the onliner below wordpress will thrash my single quotes and replace them with something useless. On my keyboard these single quotes are located directly to the left of the Enter key.

sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties

cat /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties | grep Xmx

>vmarg.Xmx=-Xmx768m

Sametime standard server start/stop script on Gentoo linux

2011/12/19

Soon it is christmas and I hope to get some time to do a more automated install script for Lotus Notes on Ubuntu/Linux Mint etc. But in the meantime I have this which is a start/stop script for Sametime WebSphere servers on a Gentoo machine. This server hosts everything except the Sametime Community server. Everything works very well on a Gentoo 32bit server. I hade some trouble with installing DB2 and I had to manually create user db2admin, otherwise it works pretty well. Tell me about you experience installing Sametime WebSphere servers on Linux, I like to gather and publish information about this.

 

meetings ~ # cat /etc/init.d/sametime
#!/sbin/runscript

depend() {
         need net
}

start() {
        ebegin “Starting Sametime”
        su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2start”
        /opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/startServer.sh dmgr
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh STConsoleServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh STMediaServer
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh STProxyServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingHttpProxy
        eend $?
}

stop() {
        ebegin “Stopping Sametime”
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh STMediaServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingHttpProxy
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh STProxyServer
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh STConsoleServer
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/stopServer.sh dmgr
        su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2stop”
        eend $?
}

meetings ~ # rc-update add sametime

KillNotes for Linux

2011/11/14

Use this command to kill all notes processes. It might be a little rough and kill other processes that you do not want to kill. Use with care!

pgrep -l notes | awk ‘{print $1}’ | xargs kill -9

In above command the ‘ is straight and not tilted.

Lotus Notes 8.5.3 En on Sabayon Linux 7 amd64

2011/10/22
I finally did it after testing out different methods (including testing an ebuild).

Here are some rough details. Tell me if you have a better method!

Prereqs:
Sabayon 7 - Linux sabayon 3.0.0-sabayon #1 SMP Wed Aug 31 05:36:15 UTC 2011 x86_64
Lotus Notes 8.5.3 English (IBM Lotus Notes Client V8.5.3 for Linux (RPM Install) English (CI1L5EN))
1) Installing compatibility libraries
equo install emul-linux-x86-gtklibs swt app-emulation/emul-linux-x86-motif emul-linux-x86-xlibs
Get the rest of the 32bit libraries:
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeui-2.24.5~2.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeprintui-2.18.6~2.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomeprint-2.18.8~0.tbz2
#wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:gvfs-1.10.0~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:gnome-vfs-2.24.4-r1~3.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-2.32.1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-2.32.1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnomecanvas-2.30.3~0.tbz2
 wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/net-dns:avahi-base-0.6.30~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libbonobo-2.24.3~3.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/media-libs:libcanberra-0.28-r2~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/dev-libs:popt-1.16-r1~1.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libbonoboui-2.24.5~0.tbz2
wget http://na.mirror.garr.it/mirrors/sabayonlinux/entropy/standard/sabayonlinux.org/packages/x86/5/gnome-base:libgnome-keyring-3.2.0~0.tbz2
I used mc to extract the files in /usr/lib (in tbz2 files) to /usr/lib32 - For all above packages.

wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile
wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c
wget --no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

2) Installing Lotus Notes
Sabayon$ tar xvf  lotus_notes853_linux_RI_en.tar
Sabayon$ ls
ibm_lotus_activities-8.5.3.i586.rpm  ibm_lotus_notes-8.5.3.i586.rpm
ibm_lotus_cae-8.5.3.i586.rpm         ibm_lotus_sametime-8.5.3.i586.rpm
ibm_lotus_feedreader-8.5.3.i586.rpm  ibm_lotus_symphony-8.5.3.i586.rpm
equo install app-arch/rpm app-arch/rpm2targz
Sabayon # rpm -i --nodeps --force ibm_lotus_notes-8.5.3.i586.rpm
warning: Generating 12 missing index(es), please wait...
warning: ibm_lotus_notes-8.5.3.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 34f9ae75: NOKEY
warning: %post(ibm_lotus_notes-8.5.3-20110916.0921.i586) scriptlet failed, exit status 90

3) Post install 
Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg
sudo sed -i 's/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g' Makefile
make
chmod +x notes-wrapper
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
Important: Note that the ‘ before s and after g is of type that is straight.
sudo sed -i 's/..\/notes %F/..\/notes-wrapper %F/g' /usr/share/applications/LotusNotes8.5.desktop

$ cd /opt/ibm/lotus/notes/framework/
anders@sabayon:/opt/ibm/lotus/notes/framework$ LD_LIBRARY_PATH=/usr/lib32 ../notes-wrapper
Or run from menu.
Please tell me if you have a better method.
BTW How do you install x86 files using equo on an amd64 system. This tool should be able to do this, because doing it manually is time consuming.

Install Lotus Notes 8.5.3 En on Ubuntu 11.04 64bit

2011/10/10

So here finally it comes – more detailed installation instructions. This time for the 64bit version of Natty Narwhal.

1) Create a folder for the files. In this case

mkdir ~/LN853install

cd ~/LN853install

2) Copy all Lotus files you want to install

ls -la ~/LN853install

-rw-r–r–  1 anders anders   5015238 2011-10-10 17:44 ibm-lotus-activities-8.5.3.i586.deb
-rw-r–r–  1 anders anders   3933118 2011-10-10 17:44 ibm-lotus-cae-8.5.3.i586.deb
-rw-r–r–  1 anders anders    108796 2011-10-10 17:44 ibm-lotus-feedreader-8.5.3.i586.deb
-rw-r–r–  1 anders anders 342931012 2011-10-10 17:47 ibm-lotus-notes-8.5.3.i586.deb
-rw-r–r–  1 anders anders  53008774 2011-10-10 17:45 ibm-lotus-sametime-8.5.3.i586.deb
-rw-r–r–  1 anders anders 146089190 2011-10-10 17:47 ibm-lotus-symphony-8.5.3.i586.deb

3) Modify packages to get them installed

a) Lotus Notes

In Nautilus, right click on ibm-lotus-notes-8.5.3.i586.deb and select extract here. When extracting finished then Rename file ibm-lotus-notes-8.5.3.i586.deb to somehting else.

Enter folder LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN and open file CONTROL in text editor.

Make sure following lines are empty

Pre-Depends:
Depends:
Recommends:
Conflicts:
So nothing after semicolon!  Now save the file.

b) Lotus Sametime

In Nautilus, right click on  ibm-lotus-sametime-8.5.3.i586.deb and select extract here. When extracting finished then Rename file  ibm-lotus-sametime-8.5.3.i586.deb to somehting else.

Enter folder LN853install/ibm-lotus-sametime-8.5.3.i586/DEBIAN and open file CONTROL in text editor.

Make sure following lines are empty

Pre-Depends:
Depends:

So nothing after semicolon!  Now save the file.

c) Convert them to debs again!

sudo dpkg-deb -b ibm-lotus-notes-8.5.3.i586

dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.

and

sudo dpkg-deb -b ibm-lotus-sametime-8.5.3.i586.deb

dpkg-deb: building package `ibm-lotus-sametime:i386′ in `ibm-lotus-sametime-8.5.3.i586.deb’.

In order to install i386 packages in a good manner we need the tool getlibs. Here is how it is installed:

4) Install extra libraries

sudo apt-get -y install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree

5) Install getlibs

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 167584 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …

6) Install compatibility libraries (some may not be needed, plz help me update this)

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 libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve  gtk2-engines-murrine gtk2-engines-equinox  alsa-base alsa-utils iproute

7) Symbolic link

sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/

8) Install Lotus Notes

Optional, remove temporary directories: rm -rf ibm-lotus-notes-8.5.3.i586 ibm-lotus-sametime-8.5.3.i586

Important: It is two dashes before force-all that is – – (without the space between them).

a) sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb

dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package ibm-lotus-notes:i386.
(Reading database … 167588 files and directories currently installed.)
Unpacking ibm-lotus-notes:i386 (from ibm-lotus-notes-8.5.3.i586.deb) …
Setting up ibm-lotus-notes:i386 (8.5.3-20110916.0921) …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf.index…
Processing triggers for desktop-file-utils …
Processing triggers for python-gmenu …
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache…
Processing triggers for python-support …

Optional Sametime b) sudo dpkg -i –force-all ibm-lotus-sametime-8.5.3.i586.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package ibm-lotus-sametime:i386.
(Reading database … 187774 files and directories currently installed.)
Unpacking ibm-lotus-sametime:i386 (from ibm-lotus-sametime-8.5.3.i586.deb) …
Setting up ibm-lotus-sametime:i386 (8.5.3-20110916.0921) .

Optional CAE, Activities, Symphony and maybe more for the localized packages.

9) We are not really there yet

sudo apt-get install g++-multilib libgtk2.0-dev

10) Install fix for gdk

Important: Double dashes before no-check-certficate , that is – – (without the space)

wget –no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile

wget –no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c

wget –no-check-certificate https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg

sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile

make

chmod +x notes-wrapper
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/

Important: Note that the ‘ before s and after g is of type that is straight.

sudo sed -i ‘s/..\/notes %F/..\/notes-wrapper %F/g’ /usr/share/applications/LotusNotes8.5.desktop

11) Go nag on IBM to make software that is more linux compatible!!

Update 2011-10-14:

For Oneric Ocelot final release. Do this:

sudo getlibs -p libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4

I still cannot get it to work at the moment though…

/opt/ibm/lotus/notes/notes: error while loading shared libraries: libgconf-2.so.4: wrong ELF class: ELFCLASS64
even though:

: ls -laFtr /usr/lib32/ | grep conf-2
-rw-r–r–  1 root root   182536 2011-10-14 14:29 libgconf-2.so.4.1.5
lrwxrwxrwx  1 root root       19 2011-10-14 14:29 libgconf-2.so.4 -> libgconf-2.so.4.1.5

Need to add this to the notes-wrapper file:

LD_LIBRARY_PATH=/usr/lib32

I hope I have time to give more exact details soon

Update 2011-11-07:

For Oneric install these before Lotus Notes

getlibs -p libx11-6 libxt6 libxext6  libc6  libgcc1  libgtk2.0-0  libxkbfile1 libglib2.0-0  libstdc++6 bash