Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: bass5763 on September 27, 2017, 03:55:19 PM
-
I have copied over all the files from my rpiTC Citrix Receiver 12.1 and installed via tce-load all the dependencies, ran the hdx-check.sh and all looks good. Ran the icalicense.sh to create the /etc/icalicense/icalicense file.
However when I try to run wfcmgr or wfica.sh both of them give me the following error:
unable to execute ./wfcmgr: No such file or directory (same error on full path /opt/Citrix/ICAClient/wfcmgr or ./wfica.sh or /opt/Citrix/ICAClient/wfica.sh)
I've checked all the permissions they both show -rwxr-xr-x
I'm not sure why I can't get it to work running piCore.
I've installed the Citrix Receiver 12.1 on an HP T5520 running TCL 4.7.7.
Any Ideas?
-
What gives
file /opt/Citrix/ICAClient/wfcmgr
?
-
That is the default folder for the Linux Citrix Client, however I have also tried copying all the Citrix files to the user folder and then setting the $ICAROOT variable to the user folder/Citrix/ICAClient and have the same problem on piCore.
On TCL 4.2.2 in either the /opt/Citrix/ICAClient directory or the ~ directory it works just fine, same with rpiTC.
I know I must be missing something simple with piCore, but I'm not sure what it is.
-
Hi bass5763
He didn't ask you what it was, he ask you to run this command:
file /opt/Citrix/ICAClient/wfcmgr
and then post the result back here.
-
Sorry, I tried the file command first, but the file command returns a -sh: file not found message.
Ok, downloaded the file.tcz and ran the command.
/opt/Citrix/ICAClient/wfcmgr: ELF 32-Bit LSB Executable, ARM, EABI4 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3 for GNU/Linux 2.6.14, stripped
Thanks again for looking at this.
-
The ld-linux.so.3 symlink doesn't exist by default
cd /lib
sudo ln -s ld-2.25.so ld-linux.so.3
-
If this was it I guess the easiest would be to add that symlink to your backup
echo "lib/ld-linux.so.3" >> /opt/.filetool.lst
filetool.sh -b
-
Thanks, yes, I noticed that after I typed it out and posted it.
So now it gives me a shared library error, so I'm going to see if I can find it or symlink to a compatible one.
libXm.so.3 which is probably from the openmotif or libmotif that I couldn't find, however I do have dependencies that I can copy over from my rpiTC install, so I may work those out.
I have libXm.so.4.0.4 but it looks like it is not fully compatible, gives me an internal error when I symlink it to /lib/libXm.so.3
Is there an alternative to openmotif or libmotif for piCore?
-
It might not be the best solution but you could copy missing libs from your rpiTC installation to somewhere like
/opt/Citrix/ICAClient/lib/libXm.so.3
and start the program like so
LD_LIBRARY_PATH=/opt/Citrix/ICAClient/lib /opt/Citrix/ICAClient/wfcmgr
-
Thanks for the info.
I've tried symlinking several different versions of libXm to lib/libXm.so.3 and each time I still get the error while loading shared libraries libXm.so.3: internal error.
I'll keep trying and see if I can get it to work with the files from my rpiTC build.
If you know of a compatible libXm or libXpm for the piCore, I'd appreciate any info.
-
You'd be better off compiling libXm from the openmotif source, no?
-
Probably, but I was hoping someone else already went through that process on piCore.
If not, then I'll probably try a few more things with piCore to get it to work, and if it comes to that, just use the rpiTC build as it does work, but not as fast as piCore.
Unfortunately, this is a project that I can't invest a ton of time into when I already do have a working solution, albeit not quite as fast.
-
If somebody else had been through the process, the extension would be in the repo ;)
-
Yes, :)
If I can get it working, I'll post the process for others who want to use Citrix Receiver 12.1.
I'm looking into replacing our current HP T5520 Thin Clients with Raspberry Pi 3 Model B units and since I use TCL for all of my Linux Builds, I was hoping to use piCore as the Raspberry Pi OS.
Hopefully I will figure something out.
Thanks.