expr: syntax error - adobe acrobat reader (acroread) and mozilla firefox (mozilla-firefox)
Written by anil on Friday, August 17th, 2007 in Linux.
Hi
I really don't know what upgrade on my pclinuxos (later I found this is a common issue on many linux distros) caused the issue with my adobe acrobat reader. This error may eventually crashes mozilla-firefox (may because of acrobat reader integration with firefox). Following is the fix.
[root@dhcppc0 ~]# which acroread
/usr/bin/acroread
[root@dhcppc0 ~]# vi /usr/bin/acroreadGo to line 417,
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'In this line, after second [0-9] add a "*". ( ie, [0-9]* ).
The final output look like the following.
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
Hope this information helps you.
Thanks
Anil