Posts Tagged ‘howto’

To me six months from now: How to get Citrix running on Debian Sid AMD64

Tuesday, December 22nd, 2009

This is now the third time that I’ve had to research how to get working so it’s time for a post. This should probably work for Ubuntu systems as well.

Go to the Citrix Site and download the file called:
linuxx86-11.0.140395.tar.gz (or greater).

This is a tarbomb so I advise creating a new directory and extract it there. Then run the setup script ./setupwfc

mkdir citrix
mv /tmp/linuxx86-11.0.140395.tar.gz citrix/
cd citrix
tar xzvf linuxx86-11.0.140395.tar.gz
./setupwfc

Now the two extra things you’ll need to do.

First install the package ia32-libs package which is “ia32 shared libraries for use on amd64 and ia64 systems”.

sudo apt-get install ia32-libs

Next you need to copy the firefox/iceweasel/whatever certs

cp -v /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/keystore/cacerts/

Of course when I need this next I’ll have forgotten all about this post.

EDIT: I updated to Kubuntu 10.05 and I came across the error related to /usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory. A quick print of the shared library dependencies and we see that libXm.so.4 is not found.

user@pc:~$ ldd /usr/lib/ICAClient/wfcmgr
        linux-gate.so.1 =>  (0xf77c1000)
        libXm.so.4 => not found
        libXp.so.6 => /usr/lib32/libXp.so.6 (0xf779a000)
        libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf7788000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf777f000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7766000)
        libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf774f000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf774b000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7747000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf772d000)
        libc.so.6 => /lib32/libc.so.6 (0xf75d3000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7580000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7463000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7453000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf744f000)
        libuuid.so.1 => /lib32/libuuid.so.1 (0xf7449000)
        /lib/ld-linux.so.2 (0xf77c2000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf742f000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7429000)

I tried installing libmotif3 (apt-get install libmotif3) as suggested here but then I got the error wrong ELF class: ELFCLASS64. I know from experience that this is due to running a 32bit application on a 64bit os. After some searching I came across this post which recommended downloading a 32 bit version of libmotif3 for the i386 platform, forcing the install and creating a link from version 3 to version 4.

dpkg -i --force-architecture libmotif*i386.deb
ln -s /usr/lib/libXm.so.3 /usr/lib32/libXm.so.4

This fixed the problem for me. By the way the binary you need to point your browser to is /usr/lib/ICAClient/wfica