Error: Couldn’t load XPCOM Zimbra Desktop

Zimbra desktop installation on a brand new installation of Ubuntu/Linux mint 64 bit release always fails (Tried on Ubuntu 14.04/14.10/Linux Mint 17 etc) due to the lack of 32 bit architecture support.

I confirmed it by running Zimbra desktop with ia32-libs added to the distribution and manually running zdclient as follows:

$ /opt/zimbra/zdesktop/linux/prism/zdclient -webapp “/home/techfiz/zdesktop/zdesktop.webapp” -override “/home/techfiz/zdesktop/zdesktop.webapp/override.ini” -profile “/home/techfiz/zdesktop/profile”
Couldn’t load XPCOM.

This is mainly because the way 32 architecture support used to be enabled on the distro’s. Earlier installing ia32-libs package was quire easier via apt-get. Now the best way to install 32 bit architecture support is as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Now try opening Zimbra desktop, it works like a charm.

Published by

Omshivaprakash

Gnu/Linux Enthusiast, Kannadiga, Wikipedian, Amateur photographer, trekker and more

4 thoughts on “Error: Couldn’t load XPCOM Zimbra Desktop”

  1. Hi Shiv,
    I have checked your posted comments and which really help.I have tried to connect with Huawei EC-121 data card and unable to suceed.
    My System Specification:
    Laptop Type:Sony Vaio VGN-NS240E
    OS Type: Fedora 14
    Data Card: Reliance NetConnect 1X-Huawei EC-121

    When i am executing command $wvdial output is following
    –> Sending:
    ATZ
    –> Sending:
    ATQ0
    –> Re-Sending:
    ATZ
    –> Modem not responding
    Kernal level Logs are
    Dec 22 03:27:33 localhost pppd[2134]: pppd 2.4.5 started by Hitesh, uid 0
    Dec 22 03:27:33 localhost pppd[2134]: Using interface ppp0
    Dec 22 03:27:33 localhost pppd[2134]: Connect: ppp0 /dev/ttyUSB0
    Dec 22 03:27:35 localhost pppd[2134]: PAP authentication succeeded
    Dec 22 03:27:35 localhost kernel: [ 1029.326255] PPP Deflate Compression module registered
    Dec 22 03:27:35 localhost pppd[2134]: local IP address 115.241.192.173
    Dec 22 03:27:35 localhost pppd[2134]: remote IP address 220.224.141.129
    Dec 22 03:27:35 localhost pppd[2134]: primary DNS address 202.138.97.193
    Dec 22 03:27:35 localhost pppd[2134]: secondary DNS address 202.138.117.60
    Dec 22 03:47:24 localhost dbus: [system] Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.75″ (uid=500 pid=2272 comm=”/usr/bin/python) interface=”org.freedesktop.NetworkManager” member=”GetDevices” error name=”(unset)” requested_reply=0 destination=”:1.45″ (uid=500 pid=1772 comm=”nm-applet))
    Even i have added Network connection and also not able to connect.
    Thanks in advance
    Hitesh

  2. I used the option that you recommended
    sudo dpkg –add-architecture i386

    Some idea how to resolve, the package is no longer disponible

    ———————-
    $ sudo apt-get install ia32-libs
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    lib32z1 lib32ncurses5 lib32bz2-1.0

    E: Package ‘ia32-libs’ has no installation candidate

  3. I used the option that you recommended
    sudo dpkg –add-architecture i386

    Some idea how to resolve, the package is no longer disponible, the option don’t resolve the problem

    ———————-
    $ sudo apt-get install ia32-libs
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    lib32z1 lib32ncurses5 lib32bz2-1.0

    E: Package ‘ia32-libs’ has no installation candidate

  4. install the suggested packages and then run apt-get -f install to get this sorted.

    If you still face this issue, execute the following in the console where you’re running the zimbra setup or put this in .bashrc logout and login back.

    export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH;

Leave a Reply

Your email address will not be published. Required fields are marked *