expr: syntax error - adobe acrobat reader (acroread) and mozilla firefox (mozilla-firefox)
Written by anil on 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
August 19th, 2007 at 9:59 pm
Thanks. Same distro, same problem, same fix. As you say, it’s not limited to one distro but it could be related to Synaptic.
August 20th, 2007 at 12:45 am
No problem, Terry.
September 29th, 2007 at 10:45 pm
Didn’t work for me. Still in the syntax loop when I try to execute the command acroread. Firefox plugin also does not work. Using PCOSLinix and KDE
October 24th, 2007 at 9:10 pm
Valeu
mais aqui na minha configuracao a linha era 381, mais blz deu certo.
um forte abraco.