Header Shadow Image


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

PROBLEM

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.

SOLUTION

Here’s how to go about resolving this annoyance:

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

FROM

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].

TO

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.

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

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

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

 

0
Would love your thoughts, please comment.x
()
x
The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.