LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Adobe Reader and Okular not working (http://www.linuxquestions.org/questions/slackware-14/adobe-reader-and-okular-not-working-4175462843/)

rahulrajaram2005 05-21-2013 04:27 AM

Adobe Reader and Okular not working
 
Hello,

I have an XFCE interface. I installed Adobe reader and Okular in order to view PDFs, but neither works. I can find them in the 'Application Menu' under 'Office'. I do not have any leads as to why this is happening.

camorri 05-21-2013 05:35 AM

Did you do a full install? Okular is part of KDE and is included with a full install.

Adobe is available from Slackbuilds. Is that where you installed it from?

Will xpdf open a .pdf file ?

What version and release are you using?

edorig 05-21-2013 02:25 PM

Have you tried ldd /usr/bin/okular or ldd /usr/bin/acroread ? Does that report any missing library ?
Have you tried to launch them by typing in a Terminal window
Quote:

okular <filename>.pdf
What kind of error message do you see ?

rahulrajaram2005 05-21-2013 07:43 PM

cammori,

I did a full install minus KDE. I installed Okular separately. XPDF opens as an application, but I could not find any click-able buttons that would let me open a PDF.

edorig,

Doing ldd /usr/bin/okular gives me the following:

Code:

bash-4.2# ldd /usr/bin/okular
        linux-vdso.so.1 (0x00007fff47798000)
        libkparts.so.4 => not found
        libkio.so.5 => not found
        libQtNetwork.so.4 => /usr/lib64/qt/lib/libQtNetwork.so.4 (0x00007fbecfb71000)
        libQtXml.so.4 => /usr/lib64/qt/lib/libQtXml.so.4 (0x00007fbecf92f000)
        libnepomukutils.so.4 => not found
        libnepomuk.so.4 => not found
        libkdeui.so.5 => not found
        libQtGui.so.4 => /usr/lib64/qt/lib/libQtGui.so.4 (0x00007fbecec45000)
        libQtSvg.so.4 => /usr/lib64/qt/lib/libQtSvg.so.4 (0x00007fbece9ed000)
        libkdecore.so.5 => not found
        libQtCore.so.4 => /usr/lib64/qt/lib/libQtCore.so.4 (0x00007fbece50b000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbece2ef000)
        libQtDBus.so.4 => /usr/lib64/qt/lib/libQtDBus.so.4 (0x00007fbece06f000)
        libsoprano.so.4 => /usr/lib64/libsoprano.so.4 (0x00007fbecdd80000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fbecda7f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fbecd784000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fbecd56e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fbecd1ae000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fbeccf99000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fbeccd97000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fbeccb8f000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fbecc871000)
        libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007fbecc64b000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fbecc3bf000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fbecc172000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fbecbf6a000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fbecbd4f000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fbecbb46000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fbecb90f000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fbecb6fe000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fbecb3c6000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fbecb1c1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbecfed4000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fbecafb1000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007fbecada8000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fbecaba5000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fbeca987000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fbeca783000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fbeca57e000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fbeca355000)



Doing a okular Notes\ Sphinx.pdf gives me the following error:
Code:

okular: error while loading shared libraries: libkparts.so.4: cannot open shared object file: No such file or directory
I presume that these are strongly hinting at missing libraries. Please let me know how I can fix this problem.

T3slider 05-21-2013 08:31 PM

You're going to need to install at least kdelibs to get Okular working, and possibly more KDE packages. For xpdf, right-clicking should give you a context menu with options like "Open" (though xpdf is significantly uglier than Okular).

TommyC7 05-21-2013 09:49 PM

libkparts.so.4 is part of the kdelibs package.

There might be other KDE packages you're missing in order to run Okular and you will have to install those as well which is why we asked for the output of
Code:

ldd /usr/bin/okular
because ldd is able to identify the dynamic dependencies needed to run the binary (and can identify which ones you don't have).

To make the missing libraries more obvious, use:
Code:

ldd /usr/bin/okular | grep "not found"
I don't use slackpkg, but I hear slackpkg has an option that can find specific files in certain packages, so whatever that option is, use that on the missing libraries that ldd picks up.

rahulrajaram2005 05-22-2013 03:31 PM

ldd /usr/bin/okular | grep "not found" returns :

Code:

libkparts.so.4 => not found
        libkio.so.5 => not found
        libnepomukutils.so.4 => not found
        libnepomuk.so.4 => not found
        libkdeui.so.5 => not found
        libkdecore.so.5 => not found

I'll try to get these packages somehow.

However /usr/bin/acroread returns:
Code:

        not a dynamic executable
How do I rectify this ?

Alien Bob 05-22-2013 03:38 PM

Quote:

Originally Posted by rahulrajaram2005 (Post 4956778)
However /usr/bin/acroread returns:
Code:

        not a dynamic executable
How do I rectify this ?

Adobe Reader is a 32-bit program. You are running 64-bit Slackware. Unless you add multilib to your Slackware installation, the Adobe Reader is not going to work.

Eric

rahulrajaram2005 05-22-2013 04:44 PM

Thanks, Alien Bob. I will install multilibs, then.

ReaperX7 05-22-2013 08:12 PM

Okular only needs KDELibs to work. The rest of KDE is negligible.

rahulrajaram2005 05-22-2013 09:30 PM

@Alien Bob, I am able to run Acrobat Reader after following your instructions to make execution of 32-bit softwares on 64-bit Slackware possible. Thanks a lot for that. When I run Acrobat Reader, however, I see errors on the terminal screen of the sort:

Code:

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): Gdk-CRITICAL **: IA__gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(acroread:11987): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Some recommendations to previously asked simiar questions were that one should install ttf modules, which I did. Doing so did not help, however. Also, if it is important, I was required to reinstall Pango to make characters not appear as blocks. (File, Edit , etc were otherwise visible a □□□□, □□□□, and so on.).

Alien Bob 05-23-2013 03:23 AM

Just ignore these messages, or start the Adobe Reader from the menu...

Re-installing pango should not have been needed. It would have been enough to reboot your computer. The pango font update scripts are being run at boot time. That would have fixed the display of rectangles instead of proper characters.

Eric

rahulrajaram2005 05-23-2013 04:10 PM

Installing the necessary KDE packages must be enough to get Okular running. I am quite alright with Adobe.

I guess this problem is solved, then. Thanks everybody!


All times are GMT -5. The time now is 03:06 PM.