getlibs_解决32位ubun12.04-linux_mint13中lotus-notes-8.5.3界面不正常问题
安装好lotus notes后参考下面文章的9,10步,下载相应的文件编译。
From:http://usablesoftware.wordpress.com/2011/10/10/install-lotus-notes-8-5-3-en-on-ubuntu-11-04-64bit/
Install Lotus Notes 8.5.3 En on Ubuntu 11.04 64bit
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
附录:需要下载的几个文件的内容
Maek file:
all:
gcc -Wall -Wextra -m32 `pkg-config --cflags gtk+-2.0`-shared libnotesgtkfix.c -o libnotesgtkfix.so -ldl
clean:
rm -f libnotesgtkfix.so
libnotesgtkfix.c:
#include #include #include #define __USE_GNU
#include static void (*_gdk_window_shape_combine_region)(GdkWindow *window, const
GdkRegion *shape_region, gint offset_x, gint offset_y) = NULL;
void gdk_window_shape_combine_region (GdkWindow *window, const GdkRegion *shape_region, gint offset_x, gint offset_y) {
GdkWindowObject *private;
private = (GdkWindowObject *) window;
// Save value of shaped
unsigned int shaped = private->shaped;
// Initialize pointer if uninitialized.
if (_gdk_window_shape_combine_region == NULL)
_gdk_window_shape_combine_region = dlsym(RTLD_NEXT, "gdk_window_shape_combine_region");
// In the real 'gdk_window_shape_combine_region' this exact condition returns without doing anything
// So set shaped to 1 to force not returning.
if (!private->shaped && shape_region == NULL)
private->shaped = 1;
// Call real 'gdk_window_shape_combine_region'
_gdk_window_shape_combine_region(window, shape_region, offset_x, offset_y);
// Restore shaped value
private->shaped = shaped;
}
notes-wrapper:
#!/bin/sh
cd `dirname "$0"`
LD_PRELOAD=`pwd`/libnotesgtkfix.so `pwd`/notes $*
getlibs_解决32位ubun12.04-linux_mint13中lotus-notes-8.5.3界面不正常问题相关推荐
- 使用.netFx4.0提供的方法解决32位程序访问64位系统的64位注册表
原文:使用.netFx4.0提供的方法解决32位程序访问64位系统的64位注册表 我们知道目标平台是32位的程序运行在64位的系统上,去访问部分注册表的时候系统自动重定向到win32node节点对应的 ...
- java 3des 32位密钥_3des,java_java 中32位秘钥长度的 3des加密方法?,3des,java - phpStudy...
java 中32位秘钥长度的 3des加密方法? java 中 3des加密 默认是24位秘钥的 现在需求是 32位秘钥加密 尝试很多种方法 解决 结果都不正确 // 密钥 private final ...
- 8位十六进制转换32位十六进制_网络中的数制系统--二进制十六进制与十进制之间的相互转换...
网络中计算机的32位IPv4地址以二进制显示,也会以点分十进制显示.而IPv6的地址是128位,是由数字和A-F组成的十六进制系统.因此,了解并且学会在其三者之间相互转换是非常重要的,让我们能够更好的 ...
- 超过32位java_在java中存储和使用超过32位的数字!
我想问一下,如何在这段代码中使用32位以上的数字,代码应该是将两个二进制数字乘以32位以上,甚至长时间不会工作,我不知道该如何使用BigInteger在这个代码中!任何人都可以帮忙,谢谢 public ...
- 解决32位Eclipse和64位Eclipse在64位win7系统上运行问题
转载自:http://www.th7.cn/system/win/201407/63747.shtml 问题产生原因: 我的系统是64位win7系统,装的JDK也是64位,Eclipse也是64位版本 ...
- Windows7 32位机上,OpenCV中配置GPU操作步骤
1. 查看本机配置,查看显卡类型是否支持NVIDIA GPU,本机显卡为NVIDIA GeForce 8400 GS: 2. 从http://www.nvidia.cn/Download/inde ...
- Linux线程ID是32位的,对于linux中线程id的讨论
在LINUX系统中,POSIX threads库提供了pthread_t来标识一个线程,通过pthread_self()可以得到,如下: #include #include using namespa ...
- 解决32位微信开发者工具黑屏
在C盘搜索WeappLocalData这个文件,我这里的路径为: C:\Users\Administrator\AppData\Local\微信开发者工具\User Data\1a695ca2de1a ...
- linux更改cxxflags环境变量,在64位的ubuntu 14.04 上开展32位Qt 程序开发环境配置(pro文件中增加 QMAKE_CXXFLAGS += -m32 命令)...
为了能中一个系统上开发64或32位C++程序,费了些周折,现在终于能够开始干过了.在此记录此时针对Q5.4版本的32位开发环境配置过程. 1. 下载Qt 5.4 的32位版本,进行安装,安装过程中会发 ...
最新文章
- 安装Open Live Writer,添加SyntaxHighlighter实现代码高亮
- python循环语句-详解Python中的循环语句的用法
- windows API 实现截图
- 语音识别(四)——DTW, Spectrogram, Cepstrum Analysis
- 基于图搜索的路径规划方法
- Delphi调用C++写的dll示例
- Npm更新移除包的规则
- linux:云端 ubuntu下挂载数据盘
- SolidWorks2016 从入门到入坟 下载安装+画图
- SQL Server安装下载教程
- openmv串口数据 串口助手_实例 | 使用Python串口实时显示数据并绘图
- UV的入门使用方法,简单,快捷,包教包会
- ILSVRC历届冠军论文笔记
- 面试经历---YY欢聚时代
- 数学单位M和单位B是什么意思
- 【二维码】艺术二维码生成
- 战神引擎架设问题总结
- 滤波算法一(C程序)
- docker-compose up:ERROR: Encountered errors while bringing up the project.錯誤及解決方式
- 数据库索引——唯一索引、主键索引、聚集索引
热门文章
- 基于typescript的rtsp客户端实现
- SpringBoot之安装H2数据库
- wpf之默认窗口模板研究
- android webview打印,javascript - 如何在Android Webview中使网站上的打印按钮工作? - 堆栈内存溢出...
- 华为v3鸿蒙系统_重磅!华为鸿蒙系统问世!
- nc65 单据非向导开发 源代码_【免费毕设】ASP.NETIT产品网上物流管理信息系统的设计与实现(源代码+论文)...
- python中property函数_Python中的property()函数
- rstudio 修改代码间距_如何在RStudio里修改R脚本的编码方式
- python目录和文件的基本操作_python学习笔记(七)——文件和目录操作
- oracle什么时候使用静态监听,Oracle监听之动态监听与静态监听特点