Kylix installer from Loki Games, crashes on RH7.1 after installing main package RPM. Because it can not successfully execute post install script main.sh on /CD_ROOT/setup.data/ the main.sh script (bash script) has -eq -gt operators which causes bash to have this output : main.sh: [: -gt: unary operator expected main.sh: [: -eq: unary operator expected No Problem with 6.2, 7.0 with glibc patches done. Also no problem on linux-Mandrake 8.0 nor Suse 7.1.
Please attach the script - can't figure out exactly what's going wrong without seeing what they're trying to do.
I have passed this on to the Inprise bug tracking system; reference number is 463612. Since -gt and -eq work perfectly in bash 2.04, I think this is related to something else they're trying to do. It's almost certainly a case of BLAH=`something that doesn't work and returns an empty value` if [ $BLAH -gt 2 ]; then something fi Most likely, it's a hardcoded /usr/bin/cut somewhere; cut has moved to /bin.
Created attachment 16888 [details] Kylix after install script =that has a problem
Ok, I'm now absolutely certain it's their bug and not ours. Their chklibc tool returns an empty value. Please report this to Borland/Inprise, we can't fix up their proprietary code.