Header Shadow Image

Acrobat Reader on Fedora 9+: Seamingly never ending list of or non stop continous “expr: syntax error”


With the latest rollout of adobe / pdf software to the latest linux distributions, there was a rather basic bug introduced causing an infinite number of ‘expr: syntax error” messages being displayed. Fortunately this was a simple script bug frmo the provider that thankfully can be fixed by anyone. The error pops up on many applications using ‘acroread’ binary and spews out a seamingly never ending list of or non stop continous expr: syntax error.


Here’s how to go about resolving this annoyance:

$ which acroread /usr/bin/acroread
$ vi /usr/bin/acroread +418


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

Above in red is missing a * at the end of [0-9].


Add * (start) on second [0-9] to:

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

This permanently fixes the issue in the system.

Leave a Reply

You must be logged in to post a comment.

  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License