Monday, April 23, 2007

acroread expr syntax error (Adobe Reader for Linux)

Solution is here.

But basically, you comment out the appropriate lines using the # operator in the acroread startup script (usually located in /usr/bin/). Here are the modifications.

418# echo $mfile| sed 's/libgtk-x11-\([0-9]*\)\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
419 echo $mfile| sed 's/libgtk-x11-\([0-9]*\)\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

644# MIN_GTK_VERSION="240"
645 MIN_GTK_VERSION="2040"

Back to Linux

Not going into detail why...