First of all, try the installation process specified in the section “Modify the deb package and install again”. This post is the full log of my installation, but I have had to reinstall again following the steps of this section because the system became unstable.
Lets try to install the new Lotus Notes 9 in my fresh installation of Ubuntu 13.04 64 bits.
First of all, a quick view of Usable software backlog blog, a must of every Lotus Notes on Ubuntu user: http://usablesoftware.wordpress.com/2013/03/21/quick-guide-installing-notes-9-on-ubuntu-13-04-beta1-64bit/
I tried to install and I get a lot of dependencies (intentionally suppressed some lines of the output):
$ sudo apt-get install ia32-libs libgnomeprint2.2-0:i386 libg nomeprintui2.2-0:i386 libgnomevfs2-bin:i386 libgnome2-0:i386 libgnomeui-0:i386 libjpeg62:i386 S'instaŀlaran els següents paquets extres: bluez-alsa:i386 esound-common gcc-4.7-base:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386 gstreamer0.10-x:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 [...] libxt6 libxt6:i386 libxtst6 libxtst6:i386 libxv1 libxv1:i386 libxxf86vm1 libxxf86vm1:i386 mysql-common odbcinst odbcinst1debian2 odbcinst1debian2:i386 xaw3dg:i386 zlib1g:i386 Paquets suggerits: murrine-themes:i386 kde-config-gtk-style:i386 libpam-ldap:i386 libpam-winbind:i386 libnss-ldap:i386 nas:i386 [...] libsasl2-modules-sql:i386 libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386 speex:i386 Paquets recomanats: libtxc-dxtn0:i386 xml-core:i386 Es SUPRIMIRAN els paquets següents: libgnomecups1.0-1 libgnomeprint2.2-0 S'instaŀlaran els paquets NOUS següents: bluez-alsa:i386 esound-common gcc-4.7-base:i386 glib-networking:i386 gstreamer0.10-plugins-base:i386 [...] libxt6:i386 libxtst6:i386 libxv1:i386 libxxf86vm1:i386 mysql-common odbcinst odbcinst1debian2 odbcinst1debian2:i386 xaw3dg:i386 zlib1g:i386 S'actualitzaran els paquets següents: libasound2 libcupsfilters1 libdbus-1-3 libegl1-mesa libegl1-mesa-drivers libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgnutls26 libgudev-1.0-0 libtiff5 libudev1 libx11-6 libx11-xcb1 libxcb-dri2-0 libxcb-glx0 libxcb-render0 libxcb-shm0 libxcb1 libxcursor1 libxext6 libxfixes3 libxi6 libxinerama1 libxml2 libxp6 libxrandr2 libxrender1 libxt6 libxtst6 libxv1 libxxf86vm1 32 actualitzats, 281 nous a instaŀlar, 2 a suprimir i 79 no actualitzats. S'ha d'obtenir 93,8 MB d'arxius. Després d'aquesta operació s'empraran 292 MB d'espai en disc addicional. Voleu continuar [S/n]?
Once installed this bunch of packages, I try to install notes with –force-depends option, as suggested Charlie in the comments (I can see unsatisfied dependencies on some essential packages, as grep, see below for details) :
$ sudo dpkg --force-depends -i ibm-notes-9.0.i586.deb S'està preparant per a reemplaçar ibm-notes 9.0-20130309.0942 (emprant ibm-notes-9.0.i586.deb)… S'està desempaquetant el reemplaçament de ibm-notes… dpkg: ibm-notes: problemes de dependències, però es configurarà igualment tal i com heu demanat: ibm-notes depèn de gdb. ibm-notes depèn de grep. ibm-notes depèn de libcupsys2. ibm-notes depèn de libgconf2-4. ibm-notes depèn de libgnome-desktop-2 | libgnome-desktop-2-7 | libgnome-desktop-2-11 | libgnome-desktop-2-17 | libgnome-desktop-3-2. ibm-notes depèn de libpam0g. ibm-notes depèn de libxkbfile1. S'està configurant ibm-notes (9.0-20130309.0942)… S'estan processant els activadors per a bamfdaemon… Rebuilding /usr/share/applications/bamf-2.index... S'estan processant els activadors per a desktop-file-utils… S'estan processant els activadors per a gnome-menus…
And it works fine, with no extra karmic libs as with other installations (https://myotragusbalearicus.wordpress.com/2012/01/12/install-lotus-notes-8-5-3-on-ubuntu-11-10-64-bits-with-gnome3/).
When I try to install other packages, I’m getting errors. When I try to fix them, I get this error (slightly different from Usable Software’s blog):
$ sudo apt-get install gimp Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: gimp : Depends: libgimp2.0 (>= 2.8.4) but it is not going to be installed Depends: libgimp2.0 (<= 2.8.4-z) but it is not going to be installed Depends: gimp-data (>= 2.8.4) but it is not going to be installed Depends: gimp-data (<= 2.8.4-z) but it is not going to be installed Depends: libbabl-0.1-0 (>= 0.1.10) but it is not going to be installed Depends: libgegl-0.2-0 (>= 0.2.0) but it is not going to be installed Depends: libwebkitgtk-1.0-0 (>= 1.3.10) but it is not going to be installed ibm-notes:i386 : Depends: gdb:i386 but it is not going to be installed Depends: grep:i386 but it is not going to be installed Depends: libcupsys2:i386 but it is not installable Depends: libgconf2-4:i386 but it is not going to be installed Depends: libgnome-desktop-2:i386 but it is not installable or libgnome-desktop-2-7:i386 but it is not installable or libgnome-desktop-2-11:i386 but it is not installable or libgnome-desktop-2-17:i386 but it is not going to be installed or libgnome-desktop-3-2:i386 but it is not installable Depends: libpam0g:i386 but it is not going to be installed Depends: libxkbfile1:i386 but it is not going to be installed Recommends: ttf-xfree86-nonfree:i386 but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And If I try the suggested -f (–fix-broken) option, I get into panic mode:
$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: gdb:i386 libpython2.7:i386 libpython2.7-minimal:i386 libpython2.7-stdlib:i386 libpython3-stdlib:i386 libpython3.3-minimal:i386 libpython3.3-stdlib:i386 libreadline6:i386 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gdb:i386 grep:i386 libpython2.7:i386 libpython2.7-minimal:i386 libpython2.7-stdlib:i386 libpython3-stdlib:i386 libpython3.3-minimal:i386 libpython3.3-stdlib:i386 libreadline6:i386 Suggested packages: gdb-doc:i386 gdbserver:i386 The following packages will be REMOVED: gdb grep ibm-notes:i386 The following NEW packages will be installed: gdb:i386 grep:i386 libpython2.7:i386 libpython2.7-minimal:i386 libpython2.7-stdlib:i386 libpython3-stdlib:i386 libpython3.3-minimal:i386 libpython3.3-stdlib:i386 libreadline6:i386 WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! grep 0 upgraded, 9 newly installed, 3 to remove and 87 not upgraded. Need to get 9956 kB of archives. After this operation, 829 MB disk space will be freed. You are about to do something potentially harmful. To continue type in the phrase 'Yes, do as I say!' ?] no Abort.
So, I decided to remove and purge lotus-notes package and fix packages again (now it’s ok, 0 packages to remove):
$ sudo dpkg --purge ibm-notes:i386 (Reading database ... 181976 files and directories currently installed.) Removing ibm-notes ... Purging configuration files for ibm-notes ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... $ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.
Modify the deb package and install again
For me this has worked. So If you have the same scenario as me (Lotus Notes 9.0 and Ubuntu 13.04 64 bits), it’s preferable to modify the deb package and install with no dependencies (see the Collateral damages section). Maybe you’ll have to install some dependencies if it does not work for you (I already installed it at the begginning of the post, but maybe some of them are unnecessary).
First of all, modify the dependencies of the ibm-notes-9.0.i586.deb package (see http://usablesoftware.wordpress.com/2012/05/04/install-lotus-notes-8-5-3-on-ubuntu-12-04-64bit/ for instructions on unpacking and repacking the deb package):
- Extract the deb file
- Go to DEBIAN folder
- Edit the control file
- Clear the pre-depends and depends lines:
Pre-Depends: libgnomeprint2.2-0, libgnomeprintui2.2-0 Depends: gdb, coreutils, unzip, bash, procps, grep, sed, libart-2.0-2, libasound2, libatk1.0-0, libbonobo2-0, libbonoboui2-0, libc6, libcupsys2, libfontconfig1, libfreetype6, libgcc1, libgconf2-4, libgtk2.0-0, libglib2.0-0, libgnome2-0, libgnomecanvas2-0, libgnome-desktop-2 | libgnome-desktop-2-7 | libgnome-desktop-2-11 | libgnome-desktop-2-17 | libgnome-desktop-3-2, libgnomeui-0, libgnomevfs2-0, libglib2.0-0, libice6, libjpeg62, liborbit2, libpam0g, libpango1.0-0, libpng12-0, libpopt0, libsm6, libstdc++6, libx11-6, libxcursor1, libxext6, libxft2, libxi6, libxkbfile1, libxml2, libxp6, libxrender1, libxss1, libxt6, libxtst6, libz1
Change it for:
- Now go to the root folder again rename the original deb file.
- Generate the deb package again (install the package dpkg-dev if you don’t have the dpkg-deb command) and reinstall it(now you don’t need to force dependencies):
$ dpkg-deb -b ibm-notes-9.0.i586 dpkg-deb: building package `ibm-notes' in `ibm-notes-9.0.i586.deb'. $ chmod +x ibm-notes-9.0.i586.deb $ sudo dpkg -i ibm-notes-9.0.i586.deb Selecting previously unselected package ibm-notes. (Reading database ... 161789 files and directories currently installed.) Unpacking ibm-notes (from ibm-notes-9.0.i586.deb) ... Setting up ibm-notes (9.0-20130309.0942) ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ...
And now you can run Lotus Notes 9 Social Edition:
When I try to open my Lotus Notes mail on Ubuntu 11.10 I get this error:
Notes error: The remote server is not a known TCP/IP host
The problem is in resolv.conf. As my server in notes.ini has a shortname, I must add the search clause in /etc/resolv.conf:
search mydomain.com nameserver 126.96.36.199 nameserver 188.8.131.52
And now I can access my mail server.
I use Lotus Notes at work (not for pleasure), and I’ve already installed Lotus Notes 8.5.1 on Ubuntu 11.04 64 bits.
But due to a crash in my Ubuntu, I have had to reinstall Ubuntu 11.10 64 bits on top of the 11.04 installation. I reuse my partitions to install Ubuntu (home, etc.), and then I’ve followed this post to install the new Lotus Notes 8.5.3.
Don’t forget to install the libs at the bottom of the post before installing lotus notes.
In my case, as I reuse the old partitions, when I first install lotus notes, I get an error:
cat: /opt/ibm/lotus/notes/framework/rcp/systemdata/logs/rcplauncher.log: File or folder does not exists cat: /tmp/rcplauncher.log: File or folder does not exists
So, i moved bak the old folders of the prior installation (8.5.1), the lotus folder at home, and the /opt/ibm folder:
mv ~/lotus ~/lotus.bak sudo mv /opt/ibm /opt/ibm.bak
And now the installation works fine.
After install, I move back my notes.ini, user.id, bookparks.nsf and names.nsf from my old installation to ~/lotus/notes/data/.
Then, I’m still getting some issues with blank screens, so, like in prior installations of notes in ubuntu with the same problem, I’ve copied these libraries to /opt/ibm/lotus/notes:
wget http://www.benkevan.com/upload/lotus_notes/libgdk-x11-2.0.so.0 wget http://www.benkevan.com/upload/lotus_notes/libgdk_pixbuf-2.0.so.0 wget http://www.benkevan.com/upload/lotus_notes/libgdk_pixbuf_xlib-2.0.so.0 wget http://www.benkevan.com/upload/lotus_notes/libgtk-x11-2.0.so.0 sudo mv *. so.0 /opt/ibm/lotus/notes
When I want to save an attachment in a Lotus Notes ad-hoc application, I’m getting this error.
I can open the attachment (via context menu – open), but I cannot save it. I neither can attach files to the application (in a rich text field of a document of the application).
This error is intermittent, now it let’s me save attachments, now not. This is annoying
I’ve read in some posts that finally it seems that Lotus Notes 8.5.2 works fine in ubuntu (32 bits). I’ll give it a try in ubuntu 64 bits.
Updated feb-11 2011
Finally I found the problem!
To be honest, the error wasn’t intermitent. It only happened when I tried to save a file that has special characters (ñ, ç, tildes like à, á, …) in the filename or in the folder I wanted to save it. My native language is catalan, so I have a lot of files like this.
I knew that I did something wrong to get this error, and I remembered that a couple of days ago I was messing with the locales, as I posted here https://myotragusbalearicus.wordpress.com/2011/01/28/howto-change-t…cale-in-ubuntu/ and I missed one thing.
After changing the locale via language selector (System -> Administration -> Language support), today I’ve noticed that my LANG was incorrect:
$ locale LANG=ca_ES.we8iso885915 LC_CTYPE="ca_ES.utf8" LC_NUMERIC="ca_ES.utf8" LC_TIME="ca_ES.utf8" LC_COLLATE="ca_ES.utf8" LC_MONETARY="ca_ES.utf8" LC_MESSAGES="ca_ES.utf8" LC_PAPER="ca_ES.utf8" LC_NAME="ca_ES.utf8" LC_ADDRESS="ca_ES.utf8" LC_TELEPHONE="ca_ES.utf8" LC_MEASUREMENT="ca_ES.utf8" LC_IDENTIFICATION="ca_ES.utf8" LC_ALL=ca_ES.utf8
I checked again Language support and the text tab was empty (with no language selected). I selected Catalan again, applied to all the system and then reboot… but still doesn’t work!
Reviewing this bug in launchpad https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162 i checked again the locale and noticed thant LANG was still wrong. I exported it and reboot (assigning also the LANGUAGES environment variable), and now all works fine and I can save files from Lotus Notes. Now my locale looks like this:
$ locale LANG=ca_ES.utf8 LANGUAGE=ca_ES@euro:ca LC_CTYPE="ca_ES.utf8" LC_NUMERIC="ca_ES.utf8" LC_TIME="ca_ES.utf8" LC_COLLATE="ca_ES.utf8" LC_MONETARY="ca_ES.utf8" LC_MESSAGES="ca_ES.utf8" LC_PAPER="ca_ES.utf8" LC_NAME="ca_ES.utf8" LC_ADDRESS="ca_ES.utf8" LC_TELEPHONE="ca_ES.utf8" LC_MEASUREMENT="ca_ES.utf8" LC_IDENTIFICATION="ca_ES.utf8" LC_ALL=ca_ES.utf8
I’ve already been using Lotus Notes 8.5 in Ubuntu 9.10 64 bits for a long time, without (major) problems.
Now I’ve upgraded to Ubuntu 10.04 and when I try to run notes:
mike@l3neelavathi:/tmp$ cd /opt/ibm/lotus/notes/framework mike@l3neelavathi
../notes: error while loading shared libraries: libesd.so.0: cannot open shared object file: No such file or directory
Googling I found this page where explains a clean installationhttp://usablesoftware.wordpress.com/2010/03/09/installing-lotus-notes-8-5-1-fp1-on-ubuntu-10-04-lucid-lynx-64bit/
Instead of installing all the steps, I’ve gone directly to step 4:4) Installing compatibility libraries part 1:cd /tmp wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb sudo dpkg -i getlibs-all.deb 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
And worked! I still get some error messages, but the client works fine:Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64 (Lotus Notes:5570): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64
Trying toinstall the compatibility libraries part 2, but the server (www.benkevan.com) is temporary unavailable.