Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
05-21-2013, 04:27 AM
#1
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Rep:
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.
05-21-2013, 05:35 AM
#2
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215
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?
05-21-2013, 02:25 PM
#3
Member
Registered: Apr 2013
Location: France
Distribution: Slackware; Ubuntu
Posts: 134
Rep:
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
What kind of error message do you see ?
1 members found this post helpful.
05-21-2013, 07:43 PM
#4
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Original Poster
Rep:
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.
05-21-2013, 08:31 PM
#5
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367
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).
05-21-2013, 09:49 PM
#6
Member
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530
Rep:
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.
05-22-2013, 03:31 PM
#7
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Original Poster
Rep:
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 ?
05-22-2013, 03:38 PM
#8
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
Quote:
Originally Posted by
rahulrajaram2005
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.
05-22-2013, 04:44 PM
#9
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Original Poster
Rep:
Thanks, Alien Bob. I will install multilibs, then.
05-22-2013, 08:12 PM
#10
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Okular only needs KDELibs to work. The rest of KDE is negligible.
05-22-2013, 09:30 PM
#11
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Original Poster
Rep:
@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.).
05-23-2013, 03:23 AM
#12
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
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
05-23-2013, 04:10 PM
#13
LQ Newbie
Registered: Jan 2011
Distribution: Slackware
Posts: 17
Original Poster
Rep:
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 01:15 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News