Tuesday, July 14, 2009

error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared object file: No such file or directory

I used Lotus Client 8.5 beta at Ubuntu 8.0.4 fine.  However, I cannot open attachment with Lotus Client 8.5 at Ubuntu 9.0.4.  And got the following messages.

kevinchui@kevin-nb:~$ /opt/ibm/lotus/notes/framework/../notes
07/13/2009 AM 10:01:03.06 [05197:00002--1270666848] DeskClientOpenInt> Calling CreateProgramRCP pszRCPCmdLine[/authenticate ] bDeskProvisioningRestart [0]
07/13/2009 AM 10:01:03.08 [05197:00002--1270666848] DeskClientOpenInt> Executed CreateProgramRCP

2009/07/13 10:01:05.075 CONFIG eclipse.buildId=client_620_20081114-0851
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260ifx-20081002_23977 (JIT enabled, AOT enabled)
J9VM - 20081002_023977_lHdSMr
JIT  - r9_20080415_1520ifx7
GC   - 20080415_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_HK
Framework arguments:  -dir ltr -NPARAMS "/authenticate" -RPARAMS -personality com.ibm.rcp.platform.personality -product com.ibm.rcp.personality.framework.RCPProduct:com.ibm.notes.branding.notes -plugincustomization /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini
Command-line arguments:  -os linux -ws gtk -arch x86 -dir ltr -NPARAMS "/authenticate" -RPARAMS -personality com.ibm.rcp.platform.personality -product com.ibm.rcp.personality.framework.RCPProduct:com.ibm.notes.branding.notes -data /home/kevinchui/lotus/notes/data/workspace -plugincustomization /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini ::class.method=com.ibm.rcp.core.internal.logger.frameworkhook.writeSession() ::thread=Start Level Event Dispatcher ::loggername=com.ibm.rcp.core.internal.logger.frameworkhook
(pid 5197 ) X lib error (3:BadWindow (invalid Window parameter)) occurs
<span style="font-weight: bold;">/opt/ibm/lotus/notes/framework/../openwith: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared object file: No such file or directory</span>

The Solution is very simple: Make a symbolic link to lead it find the library file
# cd /usr/lib
# ln -s libgnome-desktop-2.so.11 libgnome-desktop-2.so.2

P.S. libgnome-desktop-2.so.11 can be various from your library version, try to locate it yourself at /usr/lib

Lotus Notes Client 8.5 on Ubuntu 9.0.4 - Strange Font Size Problem

If you found that the displaying fonts and window sizes are strange using Lotus Notes Client 8.5 on Ubuntu 9.0.4, try to install the following packing.  It works, at least, for me.

# sudo apt-get install ttf-xfree86-nonfree