Citrix: [ERROR] : machine architecture could not be decided
When integrating Citrix Receiver into my own Linux distribution working in a chroot environment, I was running into a machine architecture error.
Notes from a Citrix blog:
I had same problem. I traced the issue in hinst script in linuxx86 directory.
For me uname -m gives x86_64 which is no understood by this part of the code.
I changed this part according to the comment below to get rid of the error.
UpdateMachineHWSuffix ()
{
Arch=`uname -m`
NotIntel=0
NotARM=0
echo $Arch|grep “i 0-986” >/dev/null #### Change this line to echo $Arch|grep “86” >/dev/null
if $? -ne 0 ; then
NotIntel=1
fi
echo $Arch|grep -i “^arm” >/dev/null
if $? -ne 0 ; then
NotARM=1
fi
if $NotIntel -eq 0 ; then
MachineArch=$IntelSuffix
return 0
fi
if $NotARM -eq 0 ; then
MachineArch=$ARMSuffix
return 0
fi
if $NotIntel -eq 1 -a $NotARM -eq 1 ; then
user_echo “ERROR : machine architecture could not be decided.”
exit 2
fi
}
By: Tomi