April 30

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


Copyright 2021. All rights reserved.

Posted April 30, 2013 by Timothy Conrad in category "Software

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B