After we upgrade all linux machines to FC6, the Adobe Acrobat Reader (v. 7.0.8-1 installed via rpm) application failed to start entering a sort of loop eating a lot of cpu %.

Launching Acrobat from commandline the error repeated was: “expr: syntax error”

Googoling a little i found a solution that works on all machines:

Open /usr/bin/acroread with your text editor

Go to line 418 and replace this line:

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

with this one:

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

All in the same line without line breaks.

Now kill all Acrobat process alredy opened and try to relaunch Acrobat. It should works

Leave a Reply