Installing citrix receiver on debian squeeze x64 - solution

If none of the more specific forums is the right place to ask

Installing citrix receiver on debian squeeze x64 - solution

Postby remnux2 » 2013-08-13 17:43

There are a few problems to solve during the installation of citrix receiver on debian squeeze, here is a solution:

Download icaclient_12.1.0_amd64.deb (citrix receiver) from http://www.citrix.com/downloads

Problem: nspluginwrapper

> dpkg -i icaclient_12.1.0_amd64.deb
Selecting previously deselected package icaclient.
(Reading database ... 214171 files and directories currently installed.)
Unpacking icaclient (from icaclient_12.1.0_amd64.deb) ...
dpkg: dependency problems prevent configuration of icaclient:
icaclient depends on nspluginwrapper; however:
Package nspluginwrapper is not installed.
dpkg: error processing icaclient (--install):
dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
icaclient

Solution:
> apt-get install nspluginwrapper

Problem: bug in post-installation script
dpkg -i icaclient_12.1.0_amd64.deb
(Reading database ... 214450 files and directories currently installed.)
Preparing to replace icaclient 12.1.0 (using icaclient_12.1.0_amd64.deb) ...
Unpacking replacement icaclient ...
Setting up icaclient (12.1.0) ...
dpkg: error processing icaclient (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for menu ...
Errors were encountered while processing:
icaclient

Solution:
> dpkg --remove icaclient
> dpkg --unpack icaclient_12.1.0_amd64.deb
> vi /var/lib/dpkg/info/icaclient.postinst
replace
echo $Arch|grep "i[0-9]86" >/dev/null
with
echo $Arch|grep -E "i[0-9]86|x86_64" >/dev/null
(line 2648)

> dpkg --configure icaclient


Problem: open motif i386 missing
> /opt/Citrix/ICAClient/wfcmgr
/opt/Citrix/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory

if libmotif x64 is installed, the error is:
> /opt/Citrix/ICAClient/wfcmgr
/opt/Citrix/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: wrong ELF class: ELFCLASS64

Solution:
Download libmotif4 i386 version
dpkg -x libmotif4_2.3.3-5_i386.deb .
cp usr/lib/libMrm.so.4* /usr/lib32
cp usr/lib/libUil* /usr/lib32
cp usr/lib/libXm* /usr/lib32
cp -R usr/lib/X11 /usr/lib32/

After this citrix receiver works ok.
remnux2
 
Posts: 1
Joined: 2013-08-13 17:19

Return to General Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable