How-To: Solving error in Citrix Receiver (ICAClient) on Ubuntu

Here is how solved the missing error while launching Citrix Receiver (installed through XenApp client plugin) on Ubuntu. For some one who does not know what is Citrix Receiver, here is what Citrix says,

Citrix Receiver™ with Citrix Dazzle™ gives users the power to go virtual and choose from where and how they will work. Users can access avirtual desktop with on-demand applicationsanywhere – from smartphone to netbook, PC to Mac – from company device to personal device, from one location to another.

The application can be launched using either Applications -> Internet -> Citrix Receiver (OR) through following command line. If you find that there is no response when you click the Citrix Receiver, try the following command line in console. You will get necessary error message to solve the issue.
$ /usr/lib/ICAClient/wfcmgr -icaroot /usr/lib/ICAClient
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: cannot open shared object file: No such file or directory
The issue is “missing library file”.  I searched for package which contains all versions of (more about apt-file usage here).
$ apt-file search

It did not return any package name. So it is not in repository. Though is missing in the repository, we can try with other version. So we search for and install the corresponding package libmotif-dev.
$ apt-file search
lesstif2: /usr/lib/
lesstif2: /usr/lib/
lesstif2-dbg: /usr/lib/debug/usr/lib/
lesstif2-dev: /usr/lib/
libmotif-dev: /usr/lib/
libmotif3: /usr/lib/
libmotif3: /usr/lib/
$ sudo apt-get install libmotif-dev
Then we create a symbolic link to as
$ sudo ln -s /usr/lib/ /usr/lib/
That is it. Now try running the Citrix Receiver 🙂

Citrix Receiver running on Ubuntu
Share this post


  1. In my case, I compiled motif from source, and the default installation location of is /usr/lib (My default setting is /usr/lib64 because I am using a 64bit system). So add /usr/lib to LD_LIBRARY_PATH can solve this problem.

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

  2. It seems that Ubuntu has the necessary libs in the repositories after all.. at least with Ubuntu 11.04 (Natty) which is what I’m using.

    $ apt-file search
    libmotif4: /usr/lib/

    Don’t forget to do an “apt-file update” first if needed.

    So you can just install libmotif4 and everything should be dandy. It works for me.

  3. Pingback: Anonymous

Leave a Reply

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