Labels

lego (12) Linux (39) pi (20) Thinkpads (4)

Wednesday 23 January 2013

IBM Lotus Notes 8.5.3 on LMDE Update Pack 6+ and Debian 7+ 64-bit systems with multiarch

This blog post is strictly about installing IBM Lotus Notes on a 64bit Debian (or Ubuntu) system using multiarch (not using getlibs and ia32-libs, which is obsolete/deprecated)

If you are trying to install IBM Lotus Notes 8.5.3 (32bit) on non-multiarch LMDE (Linux Mint Debian Edition) < Update Pack 6 or  Debian < 7.0, then follow the procedure I documented in 2012 found here:  http://ddurdle.blogspot.ca/2012/04/installing-lotus-notes-853-on-linux.html

If you are using LMDE (Linux Mint Debian Edition) Update Pack 6 (or later) or Debian 7.0 (or later), all of which are moving to multiarch (http://wiki.debian.org/Multiarch)  to handle 32bit applications and libraries, then follow the following steps.

64-bit install:

Although the IBM Lotus Notes 8.5.3 was designed for GNOME 2 and has dependencies for GNOME 2 libraries, this install with the instructions provided below will result in IBM Lotus Notes install that will work with almost any window-manager.  I confirmed it works with Cinnamon, MATE, and GNOME 3.

Two methods, which are very similar, but the first is preferred as it removes only the broken depdencies which means it will better withstand future LMDE/Debian upgrades with less likely of breaking.

Method 1: Removing only dependencies that are no longer valid.

NO GTK fixes are needed  -- or at least, I no longer needed them for LMDE Update Pack 6.  If you encounter issues opening or composing emails, you may need the GTK hack and notes-wrapper noted in step #5 from  http://ddurdle.blogspot.ca/2012/04/installing-lotus-notes-853-on-linux.html

  1. You need to obtain the installer for Lotus Notes 8.5.3 (this is the version tested throughout this post).  Installer could be called ibm-lotus-notes-8.5.3.i586.deb or ibm-lotus-notes_8.5.3-20110916.0921-ocdc3_i386.deb
  2. Extract deb (ibm-lotus-notes-8.5.3.i586.deb):
    • dpkg-deb -x ibm-lotus-notes-8.5.3.i586.deb <folder>
  3. Remove only the following dependencies  in UNPACK/DEBIAN/control
    • coreutils
    • procps
    • libbonobo2-0
    • ibbonoboui2-0
    • libcupsys2,
    • libgnome2-0
    • libgnomecanvas2-0
    • libgnome-desktop-2
    • libgnome-desktop-2-7 
    • libgnome-desktop-2-11
    • libgnome-desktop-2-17
    • libgnomeui-0
    • libgnomevfs2-0
    • liborbit2
    • libz1


    1. Create the new .deb:
      • dpkg-deb -e ibm-lotus-notes-8.5.3.i586.deb <folder>/DEBIAN
    2. Install the deb of lotus notes:
      • sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb
    3. Download the following files and store them in the IBM Lotus Notes application directory (/opt/ibm/lotus/notes/):
        • https://dl.dropbox.com/u/14855532/notes-fixes/libgtk-x11-2.0.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk-x11-2.0.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk_pixbuf-2.0.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk_pixbuf_xlib-2.0.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libbonobo-2.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libbonobo-activation.so.4
        • https://dl.dropbox.com/u/14855532/notes-fixes/libORBit-2.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libORBitCosNaming-2.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libcanberra.so.0
        • https://dl.dropbox.com/u/14855532/notes-fixes/libgailutil.so.18
      1. Install the following packages:
          • sudo apt-get install libgtk2.0-0:i386
            • sudo apt-get install libgdk-pixbuf2.0-0:i386
              • sudo apt-get install libcanberra0:i386
                • sudo apt-get install libcanberra-gtk0:i386
                  • sudo apt-get install libcanberra-gtk-module:i386
                1. OPTIONAL: To fix the broken images in dialog boxes (YES/NO and OK dialog boxes), perform the following steps:
                  • Search for where the file gdk-pixbuf-query-loaders (such as doing running: find / | grep gdk-pixbuf-query-loaders).  Locate the proper file, it should be the i386 or i686 version, not x86_64.  Mine was located here: /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders
                  • Copy the file gdk-pixbuf-query-loaders to /etc/gtk-2.0/gdk-pixbuf.loaders .  Note gdk-pixbuf.loaders is not a directory name, it is the name of the file.  You are essentially creating a copy of the file gdk-pixbuf-query-loaders but saving it with the name gdk-pixbuf.loaders in the folder /etc/gtk-2.0.
                2. NO GTK fixes are needed  -- or at least, I no longer needed them for LMDE Update Pack 6.  If you encounter issues opening or composing emails, you may need the GTK hack and notes-wrapper noted in step #5 from  http://ddurdle.blogspot.ca/2012/04/installing-lotus-notes-853-on-linux.html
                3. Xterm required for initial setup
                    • When starting the application for the first time, you'll need to agree to a licensing agreement.  It appears not everyone has xterm installed as default, or perhaps had become removed.  Therefore, install xterm if not already installed
                      • sudo apt-get install xterm




                  Method 2: Removing all dependencies and manually installing all dependencies

                  NO GTK fixes are needed  -- or at least, I no longer needed them for LMDE Update Pack 6.  If you encounter issues opening or composing emails, you may need the GTK hack and notes-wrapper noted in step #5 from  http://ddurdle.blogspot.ca/2012/04/installing-lotus-notes-853-on-linux.html

                  1. You need to obtain the installer for Lotus Notes 8.5.3 (this is the version tested throughout this post).  Installer could be called ibm-lotus-notes-8.5.3.i586.deb or ibm-lotus-notes_8.5.3-20110916.0921-ocdc3_i386.deb
                  2. Extract deb (ibm-lotus-notes-8.5.3.i586.deb):
                    • dpkg-deb -x ibm-lotus-notes-8.5.3.i586.deb <folder>
                  3. Remove all of the dependencies  in UNPACK/DEBIAN/control
                  4. Create the new .deb:
                    • dpkg-deb -e ibm-lotus-notes-8.5.3.i586.deb <folder>/DEBIAN
                  5. Install the deb of lotus notes:
                    • sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb
                  6. Download the following files and store them in the IBM Lotus Notes application directory (/opt/ibm/lotus/notes/):
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libgtk-x11-2.0.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk-x11-2.0.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk_pixbuf-2.0.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libgdk_pixbuf_xlib-2.0.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libbonobo-2.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libbonobo-activation.so.4
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libORBit-2.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libORBitCosNaming-2.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libcanberra.so.0
                      • https://dl.dropbox.com/u/14855532/notes-fixes/libgailutil.so.18
                    1. Install the following packages:
                        • sudo apt-get install libart-2.0-2:i386
                        • sudo apt-get install libasound2:i386
                        • sudo apt-get install libatk1.0-0:i386
                        • sudo apt-get install libc6:i386
                        • sudo apt-get install libc6-dev-i386
                        • sudo apt-get install libc6-i386
                        • sudo apt-get install libcups2:i386
                        • sudo apt-get install libfontconfig1:i386
                        • sudo apt-get install libfreetype6:i386
                        • sudo apt-get install libgcc1:i386
                        • sudo apt-get install libgconf2-4:i386
                        • sudo apt-get install libgtk2.0-0:i386
                        • sudo apt-get install libglib2.0-0:i386
                        • sudo apt-get install libice6:i386
                        • sudo apt-get install libjpeg62:i386
                        • sudo apt-get install libpam0g:i386
                        • sudo apt-get install libpango1.0-0:i386
                        • sudo apt-get install libpng12-0:i386
                        • sudo apt-get install libpopt0:i386
                        • sudo apt-get install libsm6:i386
                        • sudo apt-get install libstdc++6:i386
                        • sudo apt-get install libx11-6:i386
                        • sudo apt-get install libxcursor1:i386
                        • sudo apt-get install libxext6:i386
                        • sudo apt-get install libxft2:i386
                        • sudo apt-get install libxi6:i386
                        • sudo apt-get install libxkbfile1:i386
                        • sudo apt-get install libxml2:i386
                        • sudo apt-get install libxp6:i386
                        • sudo apt-get install libxrender1:i386
                        • sudo apt-get install libxss1:i386
                        • sudo apt-get install libxt6:i386
                        • sudo apt-get install libxtst6:i386
                        • sudo apt-get install libgtk2.0-0:i386
                        • sudo apt-get install libgdk-pixbuf2.0-0:i386
                        • sudo apt-get install libcanberra0:i386
                        • sudo apt-get install libcanberra-gtk0:i386
                        • sudo apt-get install libcanberra-gtk-module:i386
                      1. OPTIONAL: To fix the broken images in dialog boxes (YES/NO and OK dialog boxes), perform the following steps:
                        • Search for where the file gdk-pixbuf-query-loaders (such as doing running: find / | grep gdk-pixbuf-query-loaders).  Locate the proper file, it should be the i386 or i686 version, not x86_64.  Mine was located here: /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders
                        • Copy the file gdk-pixbuf-query-loaders to /etc/gtk-2.0/gdk-pixbuf.loaders .  Note gdk-pixbuf.loaders is not a directory name, it is the name of the file.  You are essentially creating a copy of the file gdk-pixbuf-query-loaders but saving it with the name gdk-pixbuf.loaders in the folder /etc/gtk-2.0.
                      2. NO GTK fixes are needed  -- or at least, I no longer needed them for LMDE Update Pack 6.  If you encounter issues opening or composing emails, you may need the GTK hack and notes-wrapper noted in step #5 from  http://ddurdle.blogspot.ca/2012/04/installing-lotus-notes-853-on-linux.html
                      3. Xterm required for initial setup
                          • When starting the application for the first time, you'll need to agree to a licensing agreement.  It appears not everyone has xterm installed as default, or perhaps had become removed.  Therefore, install xterm if not already installed
                            • sudo apt-get install xterm






                        1 comment:

                        1. Great article thanks, personnaly i don't manage to install the re-compiled package on Debian 7.0/3.2.0-4-amd64 :


                          First of all how did you manage the pre-dependencies ? (Pre-Depends: libgnomeprint2.2-0, libgnomeprintui2.2-0)

                          I can't install those two because of conflicts (libgnomeprint2.2-0:amd64 is already installed).. So I removed them from the control and then:

                          -Method1 :
                          Still a lot of dependencies ( libart-2.0-2 libasound2 libc6 libgcc1 libfontconfig1 )

                          -Method2 :
                          I got :
                          "subprocess installed post-installation script returned error exit status 90)" ...


                          _______________________________________________


                          Also i think there is some typos, more like this no : ?

                          2 - Extract deb (ibm-lotus-notes-8.5.3.i586.deb):
                          dpkg-deb -x ibm-lotus-notes-8.5.3.i586.deb

                          3 - Extract control files :
                          dpkg-deb -e ibm-lotus-notes-8.5.3.i586.deb /DEBIAN/

                          4 - Remove all of the dependencies in UNPACK/DEBIAN/control

                          5 - Create the new .deb:
                          dpkg-deb -b ibm-lotus-notes-8.5.3.i586.deb

                          ReplyDelete