LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2013, 04:27 AM   #1
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
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.
 
Old 05-21-2013, 05:35 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
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?
 
Old 05-21-2013, 02:25 PM   #3
edorig
Member
 
Registered: Apr 2013
Location: France
Distribution: Slackware; Scientific Linux
Posts: 106

Rep: Reputation: Disabled
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 ?
 
1 members found this post helpful.
Old 05-21-2013, 07:43 PM   #4
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 05-21-2013, 08:31 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,244

Rep: Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620
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).
 
Old 05-21-2013, 09:49 PM   #6
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 435

Rep: Reputation: Disabled
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.

Last edited by TommyC7; 05-21-2013 at 09:53 PM.
 
1 members found this post helpful.
Old 05-22-2013, 03:31 PM   #7
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
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 ?
 
Old 05-22-2013, 03:38 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
Quote:
Originally Posted by rahulrajaram2005 View Post
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
 
1 members found this post helpful.
Old 05-22-2013, 04:44 PM   #9
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks, Alien Bob. I will install multilibs, then.
 
Old 05-22-2013, 08:12 PM   #10
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,891
Blog Entries: 15

Rep: Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745
Okular only needs KDELibs to work. The rest of KDE is negligible.
 
Old 05-22-2013, 09:30 PM   #11
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
@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.).
 
Old 05-23-2013, 03:23 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
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
 
Old 05-23-2013, 04:10 PM   #13
rahulrajaram2005
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
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!
 
  


Reply

Tags
adobe, slackware 14, xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dear Honeyhooker can run Adobe Photoshop and Adobe Reader,is that possible llmi187 Linux - Software 4 01-30-2012 04:46 AM
[SOLVED] Removing Adobe Acrobat Reader installed from Adobe's binary jrdioko Linux - Software 5 05-07-2011 08:38 PM
Why Do I Need KDE for Okular PDF Reader?? taurusx5 Linux - Software 1 04-03-2008 07:11 PM
adobe reader 7 plugin for opera not working saravkrish Linux - Software 4 03-28-2005 01:13 AM
Adobe acrobat reader Keyboard shortcuts not working uvramana Linux - Software 1 01-16-2005 01:40 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration