LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   The latest updates broke Adobe Reader. (http://www.linuxquestions.org/questions/slackware-14/the-latest-updates-broke-adobe-reader-4175413543/)

cwizardone 06-26-2012 06:29 PM

The latest updates broke Adobe Reader.
 
Since installing yesterday's updates and upgrades Adobe Reader has refused to start and gives this error:

Quote:

dirname: missing operand
Try `dirname --help' for more information.
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
Today's updates and upgrades didn't solve the problem.

schneidz 06-26-2012 06:41 PM

have you tried using evince to view your pdf files ?

volkerdi 06-26-2012 06:47 PM

I'm about to upgrade xz which will replace liblzma.so.5 with an upgraded version, but none of the previous updates have touched it. No idea why it would have gone missing on your system unless xz got removed somehow. Hopefully that didn't happen, but if it did you'll understand why the xz package is still a .tgz. :D

willysr 06-26-2012 07:32 PM

which Adobe Reader version do you use?
i have no problem running it here with the same latest update as well (plus xz update today)

cwizardone 06-26-2012 08:24 PM

Quote:

Originally Posted by volkerdi (Post 4712824)
I'm about to upgrade xz which will replace liblzma.so.5 with an upgraded version, but none of the previous updates have touched it. No idea why it would have gone missing on your system unless xz got removed somehow. Hopefully that didn't happen, but if it did you'll understand why the xz package is still a .tgz. :D

Thank you for the response. Version 5.0.3 was installed and now 5.0.4, but, unfortunately, that didn't solve the problem. The error message remains the same.

@willysr,
AdbeRdr9.5.1-1.

willysr 06-26-2012 08:38 PM

same version here, but it's working on my system
i wonder, did you build the package using SlackBuild or did you use .bin package from Adobe?
I'm using .bin package available here ftp://ftp.adobe.com/pub/adobe/reader...9.x/9.5.1/enu/

cwizardone 06-26-2012 08:42 PM

Quote:

Originally Posted by willysr (Post 4712874)
same version here, but it's working on my system
i wonder, did you build the package using SlackBuild or did you use .bin package from Adobe?
I'm using .bin package available here ftp://ftp.adobe.com/pub/adobe/reader...9.x/9.5.1/enu/

I'm using the .bin package from Adobe. Just went to download the latest version only to find that 9.5.1-1 is the latest version. :)

guanx 06-26-2012 10:08 PM

Quote:

Originally Posted by cwizardone (Post 4712875)
I'm using the .bin package from Adobe. Just went to download the latest version only to find that 9.5.1-1 is the latest version. :)

A stupid question: Where did you find 9.5.1-1?
The latest verion I can find is 9.5.1. It has no dependency on liblzma.

Is it possible that some library that acroread depends on depends on the missing "liblzma.so.5"?

Code:

$ acroread -v
9.5.1
$ ldd Adobe/Reader9/Reader/intellinux/bin/acroread
        linux-gate.so.1 (0xffffe000)
        libBIB.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libBIB.so (0xb771b000)
        libBIBUtils.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libBIBUtils.so (0xb76e5000)
        libACE.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libACE.so (0xb75f5000)
        libAGM.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libAGM.so (0xb6dee000)
        libCoolType.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libCoolType.so (0xb6a16000)
        libAXE8SharedExpat.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libAXE8SharedExpat.so (0x69eb000)
        libJP2K.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libJP2K.so (0xb68e7000)
        libAdobeXMP.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libAdobeXMP.so (0xb6889000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6843000)
        libicuuc.so.36 => /usr/Adobe/Reader9/Reader/intellinux/lib/libicuuc.so.36 (0xb672d000)
        libssl.so.0.9.8 => /usr/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8 (0xb66ee000)
        libcrypto.so.0.9.8 => /usr/Adobe/Reader9/Reader/intellinux/lib/libcrypto.so.0.9.8 (0xb65c100)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6476000)
        libm.so.6 => /lib/libm.so.6 (0xb644a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6444000)
        libgdk_pixbuf_xlib-2.0.so.0 => /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 (0xb6434000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb6062000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb5fc9000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb5fae000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb5f91000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb5f50000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb5f0a000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb5e0a000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb5cd4000)
        libc.so.6 => /lib/libc.so.6 (0xb5b51000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5a6a000)
        libResAccess.so => /usr/Adobe/Reader9/Reader/intellinux/lib/libResAccess.so (0xb5a68000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb5a4b000)
        /lib/ld-linux.so.2 (0xb7765000)
        libicudata.so.36 => /usr/Adobe/Reader9/Reader/intellinux/lib/libicudata.so.36 (0xb509a000)
        libz.so.1 => /lib/libz.so.1 (0xb5083000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb4f82000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb4f68000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb4f65000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4f44000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb4f40000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4f3a000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4f36000)
        librt.so.1 => /lib/librt.so.1 (0xb4f2d000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb4f2a000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb4f1a000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb4f12000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb4f01000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb4ef7000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb4eec000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb4ee8000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb4ee5000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4ee0000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb4e3f000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb4dcc000)
        libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb4d9f000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb4d95000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb4d6d000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb4d3f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb4cb6000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4c8e000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb4c7c000)

Update:

If I remove "/lib/liblzma.so.5", then "kde4-config" cannot run.
Although acroread calls "kde4-config", it still starts properly with the error
Code:

$ acroread
kde4-config: error while loading shared libraries: liblzma.so.5: cannot open shared object file:such file or directory
kde4-config: error while loading shared libraries: liblzma.so.5: cannot open shared object file:such file or directory


cwizardone 06-26-2012 10:40 PM

1 Attachment(s)
Quote:

Originally Posted by guanx (Post 4712914)
A stupid question: Where did you find 9.5.1-1?
The latest verion I can find is 9.5.1...

Here you go:

willysr 06-26-2012 10:48 PM

try fetching it from here: ftp://ftp.adobe.com/pub/adobe/reader...6linux_enu.bin

guanx 06-27-2012 12:10 AM

Thanks cwizardone and willysr!

I presume "-1" is build number or similar things.
I actually have the same package installed and "acroread -v" gives "9.5.1".

So ... no dependency on liblzma.

Petri Kaukasoina 06-27-2012 08:15 AM

Quote:

Originally Posted by guanx (Post 4712914)
Is it possible that some library that acroread depends on depends on the missing "liblzma.so.5"?

Yes, libxml2.so.2.8.0 seems to need liblzma.so.5. liblzma.so.5 comes with xz. cwizardone, maybe you have a 64-bit system with 32-bit compatibility libraries? In that case you can use convertpkg-compat32 to make a 32-bit compatibility package of xz.

cwizardone 06-27-2012 12:35 PM

Quote:

Originally Posted by Petri Kaukasoina (Post 4713253)
Yes, libxml2.so.2.8.0 seems to need liblzma.so.5. liblzma.so.5 comes with xz. cwizardone, maybe you have a 64-bit system with 32-bit compatibility libraries? In that case you can use convertpkg-compat32 to make a 32-bit compatibility package of xz.

That did it. Made and installed the compat32 package of xz and Adobe Reader is now working.
Thank you very much!
:hattip:

ottavio 06-27-2012 02:20 PM

Firefox Nightly now includes a PDF reader. It's not great but it does the job. An extension is available for the stable versions.

schmatzler 06-27-2012 02:42 PM

There is also a Javascript extension for Firefox that is able to view PDF:

https://addons.mozilla.org/de/firefo...rc=userprofile

Pretty impressive.


All times are GMT -5. The time now is 11:36 AM.