1 Attachment(s)
How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
I repackaged Lotus Notes 8.5.2 for my 64bit install for myself and decided to share. My motivation was that I dislike using the "--force-arch" option with dpkg. I also wanted to create deb files that I could send to my coworkers.
To make a no-fuss package that installs, we need to automate the getlibs part of the install, create a symlink after the package is installed, and replace the 'i386' value with 'amd64' in the control file.
Assumptions: You have the ibm-lotus-notes-8.5.2.i586.deb file, along with getlibs and dpkg installed on your system. You'll also need to grab the attached lotus-notes-8.5.2.patch.txt. The instructions assume that the patch file and the deb file are in the same directory.
Note: Using 'sudo' so permissions don't get hosed.
- Extract package contents
Code:
sudo dpkg-deb -x ibm-lotus-notes-8.5.2.i586.deb ibm-lotus-notes-8.5.2
- Extract package the debian control files
Code:
sudo dpkg-deb -e ibm-lotus-notes-8.5.2.i586.deb ibm-lotus-notes-8.5.2/DEBIAN
- Patch package files
Code:
sudo patch -p0 -i lotus-notes-8.5.2.patch.txt
- Rebuild deb file
Code:
sudo dpkg-deb -b ibm-lotus-notes-8.5.2 ibm-lotus-notes-8.5.2.amd64.deb
Now, when you install the package, getlibs will automatically download the needed 32bit libraries.
Credits: Marcus Khoo's blog post which had great info on the needed libraries
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Thanks for sharing this! Very useful.
For the other .deb's that come along, do i need to change only the i568 to amd64 in the control file? (like ibm-lotus-feedreader-8.5.2.i586.deb, ibm-lotus-notes-nl1-8.5.2.i586.deb, ibm-lotus-notes-core-ptbr-8.5.2.i586.deb, ibm-lotus-feedreader-nl1-8.5.2.i586.deb, ibm-lotus-activities-8.5.2.i586.deb and some more...)
Maybe some files are only present in the brazilian portuguese version.
Hugs from Brazil =)
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Has getlibs found a new home or been deprecated by another package. There is a 404 on the freehostia.com site that is located in the forums now.
http://ubuntuforums.org/showthread.php?t=474790
I've packaged up my lotus notes deb but looking for a "valid" copy of getlibs-all.deb. I can't wait to test the new package.
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Quote:
Originally Posted by
caligari2k
Has getlibs found a new home or been deprecated by another package. There is a 404 on the freehostia.com site that is located in the forums now.
http://ubuntuforums.org/showthread.php?t=474790
I've packaged up my lotus notes deb but looking for a "valid" copy of getlibs-all.deb. I can't wait to test the new package.
You can get getlibs from this PPA:
https://launchpad.net/~jcollins/+archive/jaminppa
I respun the getlibs for 10.10 Maverick in a PPA by itself.
https://launchpad.net/~nutznboltz/+a...py-getlibs-all
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
> the "--force-arch" option with dpkg.
What force-arch option!?
Code:
# dpkg -i --force-arch ibm-lotus-notes-8.5.2.i586.deb
dpkg: unknown force/refuse option `arch'
[SOLVED/sub-thread] Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Quote:
Originally Posted by
zorg2
> the "--force-arch" option with dpkg.
What force-arch option!?
Code:
# dpkg -i --force-arch ibm-lotus-notes-8.5.2.i586.deb
dpkg: unknown force/refuse option `arch'
Ahh, its :-
dpkg --force-architecture -i <package>
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Did anyone get past this message:
/opt/ibm/lotus/notes/notes: error while loading shared libraries: libgnomeprint-2-2.so.0: cannot open shared object file: No such file or directory
I have installed these packages:
# dpkg -l | grep libgnomeprint
ii libgnomeprint2.2-0 2.18.6-1build2 The GNOME 2.2 print architecture - runtime files
ii libgnomeprint2.2-data 2.18.6-1build2 The GNOME 2.2 print architecture - data files
ii libgnomeprintui2.2-0 2.18.4-1build1 GNOME 2.2 print architecture User Interface - runtime f
ii libgnomeprintui2.2-common 2.18.4-1build1 GNOME 2.2 print architecture User Interface - common fi
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Quote:
Originally Posted by
zorg2
Did anyone get past this message:
/opt/ibm/lotus/notes/notes: error while loading shared libraries: libgnomeprint-2-2.so.0: cannot open shared object file: No such file or directory
It's part of libgnomeprint2.2-0. If getlibs didn't install it for some reason, you can extract it out of the 32bit version and copy libgnomeprint-2-2.so.0.1.0 to /usr/lib32. Symlink /usr/lib32/libgnomeprint-2-2.so.0 to it.
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
Re: How To Repackage 32bit Lotus Notes 8.5.2 for 64 bit systems
mrguga did you ever figure out how to add the other packages such as the service pack and sametime?
Thanks