Adobe Reader 7.0.8 fails to start on FC6 (expr: syntax error)

Problem:

Adobe Reader 7.0.8 fails to start on FC6 with a stream of the following error messages:

expr: syntax error

Details:

The Adobe startup script has a problem properly detecting the gtk version used in FC6. For details, see this thread:

https://www.redhat.com/archives/fedora-test-list/2006-September/msg00664.html

To work around this bug, make the following two modifications to the specified lines in /usr/local/Adobe/Acrobat7.0/bin/acroread:

418# echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\\1\\2\\3/g'
419 echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\\1\\2\\3/g'
644# MIN_GTK_VERSION="240"
645 MIN_GTK_VERSION="2040"