WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 9.0.3 Citrix Receiver 12.1  (Read 4846 times)

Offline bass5763

  • Newbie
  • *
  • Posts: 7
piCore 9.0.3 Citrix Receiver 12.1
« 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?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #1 on: September 27, 2017, 03:59:01 PM »
What gives
Code: [Select]
file /opt/Citrix/ICAClient/wfcmgr
?
Download a copy and keep it handy: Core book ;)

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #2 on: September 27, 2017, 04:14:35 PM »
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.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11588
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #3 on: September 27, 2017, 04:37:58 PM »
Hi bass5763
He didn't ask you what it was, he ask you to run this command:
Code: [Select]
file /opt/Citrix/ICAClient/wfcmgrand then post the result back here.

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #4 on: September 27, 2017, 04:47:39 PM »
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.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #5 on: September 27, 2017, 04:57:51 PM »
The  ld-linux.so.3  symlink doesn't exist by default
Code: [Select]
cd /lib
sudo ln -s ld-2.25.so ld-linux.so.3
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #6 on: September 27, 2017, 05:06:34 PM »
If this was it I guess the easiest would be to add that symlink to your backup
Code: [Select]
echo "lib/ld-linux.so.3" >> /opt/.filetool.lst
filetool.sh -b
Download a copy and keep it handy: Core book ;)

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #7 on: September 27, 2017, 05:21:57 PM »
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?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #8 on: September 27, 2017, 06:40:05 PM »
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
Code: [Select]
LD_LIBRARY_PATH=/opt/Citrix/ICAClient/lib  /opt/Citrix/ICAClient/wfcmgr
Download a copy and keep it handy: Core book ;)

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #9 on: September 28, 2017, 11:58:10 AM »
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.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #10 on: September 28, 2017, 12:12:55 PM »
You'd be better off compiling libXm from the openmotif source, no?

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #11 on: September 28, 2017, 12:21:22 PM »
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #12 on: September 28, 2017, 12:27:01 PM »
If somebody else had been through the process, the extension would be in the repo  ;)

Offline bass5763

  • Newbie
  • *
  • Posts: 7
Re: piCore 9.0.3 Citrix Receiver 12.1
« Reply #13 on: September 28, 2017, 12:33:05 PM »
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.