Sabtu, 07 Desember 2013

Getting Error When Running Adobe Reader 9.5.5 on 64 bit CentOS

After you installed AdbeRdr9.5.5-1_i486linux_enu.bin on CentOS / RHEL 6 but you get an error when you want to run it. To show the error open terminal and run acroread and the terminal will displays a series of missing libraries and modules.

$ acroread 
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

The problem is your system doesn't have libxml2 32-bit and you have install it on your 64 bit system.
Follow the yum install commands below to get it working:

Firstly, you can check your repository, and must have libxml2.i686.
$ sudo yum search libxml2
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * centosplus: mirror01.idc.hinet.net
 * contrib: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * jpackage: mirrors.dotsrc.org
 * rpmforge: ftp.riken.jp
 * rpmforge-extras: ftp.riken.jp
 * updates: mirror01.idc.hinet.net
 * webtatic: us-east.repo.webtatic.com
478 packages excluded due to repository priority protections
============================= N/S Matched: libxml2 =============================
libxml2-python.x86_64 : Python bindings for the libxml2 library
libxml2-static.x86_64 : Static library for libxml2
mingw32-libxml2.noarch : MinGW Windows libxml2 XML processing library
libxml++.i686 : C++ wrapper for the libxml2 XML parser library
libxml++.x86_64 : C++ wrapper for the libxml2 XML parser library
libxml2.i686 : Library providing XML and HTML support
libxml2.x86_64 : Library providing XML and HTML support
libxml2-devel.i686 : Libraries, includes, etc. to develop XML and HTML
                   : applications
libxml2-devel.x86_64 : Libraries, includes, etc. to develop XML and HTML
                     : applications
mingw32-libxml2-static.noarch : Static version of the MinGW Windows XML
                              : processing library
perl-XML-LibXML.x86_64 : Perl interface to the libxml2 library
python-lxml.x86_64 : ElementTree-like Python bindings for libxml2 and libxslt

  Name and summary matches only, use "search all" for everything.

Then, if libxml2.i686 is available in your repository just install it using command below:
$ sudo yum install libxml2.i686
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * centosplus: mirror01.idc.hinet.net
 * contrib: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * jpackage: mirrors.dotsrc.org
 * rpmforge: ftp.riken.jp
 * rpmforge-extras: ftp.riken.jp
 * updates: mirror01.idc.hinet.net
 * webtatic: us-east.repo.webtatic.com
478 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libxml2.i686 0:2.7.6-14.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch           Version                  Repository      Size
================================================================================
Installing:
 libxml2           i686           2.7.6-14.el6             base           800 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 800 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libxml2-2.7.6-14.el6.i686                                    1/1 
  Verifying  : libxml2-2.7.6-14.el6.i686                                    1/1 

Installed:
  libxml2.i686 0:2.7.6-14.el6                                                   

Complete!
[samsul@d1-0326-5 Downloads]$ sudo ./AdbeRdr9.5.5-1_i486linux_enu.bin 

Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 136 MB of free disk space.

Enter installation directory for Adobe Reader 9.5.5 [/opt]  
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

Finally, In Sha Allah you can run the acroread to open the Acrobat Reader.

:)

Tidak ada komentar:

Posting Komentar