Re: acrobat reader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 15, 2003 10:40 am, Lui, James wrote:
> Hello,
>
> I downloaded the Acrobat Reader (Linux 5.0.8 version) from the Adobe
> website and installed on my PC running RedHat Linux 9. The installation
> went clean (ie, no warnings/errors). However, when I tried to invoke
>
> acroread, I got the following messages and an abort:
> > jclloc1:/home1/jclloc1/Acrobat5/bin> ./acroread &
> > [1] 3123
> > jclloc1:/home1/jclloc1/Acrobat5/bin> Warning: charset "UTF-8" not
> > supported, using "ISO8859-1".
> >
> > jclloc1:/home1/jclloc1/Acrobat5/bin>
> > [1]+  Aborted                 ./acroread
>
> Has anyone encountered similar problems? Is the "abort" triggered by
> the "charset UTF-8 not supported" warning?
>
> Any suggestions on how to get around the problem will be appreciated.
>
> Regards,
>
> Jim


This is the same problem that causes man pages to be displayed with errors. It 
is a problem related to the locale and old C libraries. You need to set 
LANG=C before starting the program.
 here is a script idesa that will resolve it. By using the script wrapper, 
instead of a global, you avoid causing errors in oter programs.

(/usr/local/bin/acroread)
#!/bin/sh
env LANG=C /usr/local/Acrobat5/bin/acroread "$@"

This assumes that the executable shell script /usr/local/bin/acroread will 
appear in your path before the true acroread binary.

You may want to wrap 'man' like that as well.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux