Page 1 of 1

libxml2.so.2 error starting Adobe Reader on Magia 64 bit

PostPosted: Jun 26th, '11, 02:49
by caskyline10
Hi,
I have just installed 64 bit Magia on a new system. All works well so far except I have a problem with Adobe Reader. I downloaded Adobe Reader from the Adobe website and installed it by running the installer file AdbeRdr9.4.2-1_i486linux_enu.bin as root on the command line.
When I start Adobe I get this error that it cannot find libxml2.so.2:
[mike@matrix ~]$ 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

I do see that in /usr/lib64 directory there is a file called libxml2.so.2, but there is no such file in /usr/lib.

Is Adobe looking for a 32 bit version of this file?
Any ideas how I can get Adobe to resolve what it needs to start on my 64 bit system?
Thanks

Re: libxml2.so.2 error starting Adobe Reader on Magia 64 bit

PostPosted: Jun 26th, '11, 02:51
by ahmad
Adobe Reader is a 32bit only application, so the lib in /usr/lib64 isn't what it's looking for.

I suggest you first uninstall the .bin; then try the Adobe Reader .rpm (not the .bin), and make sure that the "Core 32bit Release" repo is enabled (it's enabled by default). The benefit of using the .rpm, is it'll pull all the required packages when you install it.

Otherwise you'll have to resolve the dependencies manually, so:
$ urpmf libxml2.so.2
lib64xml2_2:/usr/lib64/libxml2.so.2
lib64xml2_2:/usr/lib64/libxml2.so.2.7.8
libxml2_2:/usr/lib/libxml2.so.2
libxml2_2:/usr/lib/libxml2.so.2.7.8

you'll need to install the 32bit lib, libxml2_2. And so on, for the rest of any libs it complains about...

Re: libxml2.so.2 error starting Adobe Reader on Magia 64 bit

PostPosted: Jun 26th, '11, 03:37
by caskyline10
Hi,
That worked. Thanks very much.
I downloaded from Adobe the rpm file, and in a command line as root I ran:
urpmi --auto AdbeRdr9.4.2-1_i486linux_enu.rpm
The urpmi tool auto resolved dependencies and downloaded and installed many additional rpm's from the Mageia 32 bit repos.
Now Adobe Reader starts. Thanks

Re: libxml2.so.2 error starting Adobe Reader on Magia 64 bit

PostPosted: Feb 26th, '13, 18:51
by moshebagelfresser
In Root I copied and pasted the following
wget ftp://ftp.adobe.com/pub/adobe/reader/un ... ux_enu.rpm

After downloading I entered
urpmi --auto AdbeRdr9.5.4-1_i486linux_enu.rpm

Installed nicely and is OK.

Re: libxml2.so.2 error starting Adobe Reader on Magia 64 bit

PostPosted: Feb 26th, '13, 22:55
by doktor5000
You should also be able to install it directly from that URL with urpmi, no need to download it first, urpmi can do that too :)