Wed 14 Feb 2007
Acrobat Reader 7 and FC6
Posted by carson under linux , software , system administration , utilities[4] Comments
I broke down and wanted to install Adobe Acrobat Reader 7 on my FC6 box to replace xpdf. After installing it from the tar.gz version the acroread startup script bombed out with the error: expr substr 2400000000000 1
After a little searching I didn't find much help so I started looking at the script myself to see if I could track down the problem. It turns out that it wasn't that hard to fix. First off the script file was located at: /usr/bin/acroread
Open the script file and find the function named "check_gtk_ver_and_set_lib_path". This is the location of the first error you will hit. To fix the error you will need to change:
to
base_version=${blah1:1:$len_version}
You will find this two places and it needs to be changed in both. If you don't notice the 2nd place it is right after the first in a loop:
The second problem you will have is located in the function "get_gtk_file_ver". Find this function and change the following line:
to
Now you should be able to run acroread without errors.
Tags: acroread, fedora, script


