LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-16-2016, 11:28 PM   #1
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Rep: Reputation: Disabled
Smile Okular execution error...


Hi!

When uninstalling kde, I also uninstalled the kde libraries. Now I'm trying to install okular, since "pdf for X" looks like a Gnome with no je je je .. In the end, I've reinstalled some libraries like kparts, kactivities and others that come with them but I still have an error running Okular:

#######################
bash-4.3$ okular
okular(7351): Couldn't start knotify from knotify4.desktop: "Could not find service 'knotify4.desktop'."

okular(7351)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "The name org.kde.knotify was not provided by any .service files"
#########################

Can anyone give me some idea to solve the problem?

Thanks

Last edited by xaxlm; 11-16-2016 at 11:32 PM.
 
Old 11-16-2016, 11:44 PM   #2
jstg
Member
 
Registered: Apr 2006
Distribution: Slackware
Posts: 59

Rep: Reputation: 37
It looks like knotify4.desktop is part of kde-runtime
Code:
grep "knotify4.desktop" /var/log/packages/*
Returns
Code:
/var/log/packages/kde-runtime-4.14.3-x86_64-3:usr/share/kde4/services/knotify4.desktop
 
Old 11-16-2016, 11:45 PM   #3
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
jstg beat me to it!

Last edited by chris.willing; 11-16-2016 at 11:46 PM. Reason: jstg beat me to it!
 
Old 11-16-2016, 11:57 PM   #4
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Original Poster
Rep: Reputation: Disabled
Mmm ... I had previously searched for kdebase-runtime without success. However I installed kde-runtime and now I get something like:

Bash-4.3 $ okular
Connecting to deprecated signal QDBusConnectionInterface :: serviceOwnerChanged (QString, QString, QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Kbuildsycoca4 running ...
Kbuildsycoca4 (1604) VFolderMenu :: loadDoc: Parse error in "/home/slack/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu", line 1, col 1: "unexpected end of file"
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Bash-4.3 $ X Error: BadWindow (invalid Window parameter) 3
**Major opcode: 20 (X_GetProperty)
**Resource id: 0x3c00010
X Error: BadWindow (invalid Window parameter) 3
**Major opcode: 20 (X_GetProperty)
**Resource id: 0x3c00010
X Error: BadWindow (invalid Window parameter) 3
**Major opcode: 18 (X_ChangeProperty)
**Resource id: 0x3c00010
 
Old 11-17-2016, 12:11 AM   #5
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Try running
Code:
ldd /usr/bin/okular |grep found
which will list any libraries that are not found. Then use jstg's technique to discover which package contains the missing library.

chris
 
Old 11-17-2016, 12:21 AM   #6
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Original Poster
Rep: Reputation: Disabled
Nothing appears. It seems as if the libraries are complete.

bash-4.3# ldd /usr/bin/okular | grep "not found"
bash-4.3# ldd /usr/bin/okular | grep found
bash-4.3# ldd /usr/bin/okular
linux-vdso.so.1 (0x00007fffb4de1000)
libkparts.so.4 => /usr/lib64/libkparts.so.4 (0x00007fc31f97d000)
libkactivities.so.6 => /usr/lib64/libkactivities.so.6 (0x00007fc31f761000)
libkio.so.5 => /usr/lib64/libkio.so.5 (0x00007fc31f289000)
libQtNetwork.so.4 => /usr/lib64/qt/lib/libQtNetwork.so.4 (0x00007fc31ef34000)
libQtXml.so.4 => /usr/lib64/qt/lib/libQtXml.so.4 (0x00007fc31ecee000)
libnepomukutils.so.4 => /usr/lib64/libnepomukutils.so.4 (0x00007fc31eaae000)
libnepomuk.so.4 => /usr/lib64/libnepomuk.so.4 (0x00007fc31e7d9000)
libkdeui.so.5 => /usr/lib64/libkdeui.so.5 (0x00007fc31e14f000)
libQtGui.so.4 => /usr/lib64/qt/lib/libQtGui.so.4 (0x00007fc31d453000)
libQtSvg.so.4 => /usr/lib64/qt/lib/libQtSvg.so.4 (0x00007fc31d1fa000)
libsoprano.so.4 => /usr/lib64/libsoprano.so.4 (0x00007fc31cf0f000)
libkdecore.so.5 => /usr/lib64/libkdecore.so.5 (0x00007fc31ca2a000)
libQtCore.so.4 => /usr/lib64/qt/lib/libQtCore.so.4 (0x00007fc31c530000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc31c312000)
libQtDBus.so.4 => /usr/lib64/qt/lib/libQtDBus.so.4 (0x00007fc31c08c000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fc31bd12000)
libm.so.6 => /lib64/libm.so.6 (0x00007fc31ba08000)
libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007fc31b7f1000)
libc.so.6 => /lib64/libc.so.6 (0x00007fc31b428000)
libz.so.1 => /lib64/libz.so.1 (0x00007fc31b212000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fc31b00b000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fc31adf0000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fc31aab4000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fc31a8a2000)
libXft.so.2 => /usr/lib64/libXft.so.2 (0x00007fc31a68d000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fc31a489000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fc31a284000)
libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x00007fc31a073000)
libstreamanalyzer.so.0 => /usr/lib64/libstreamanalyzer.so.0 (0x00007fc319de8000)
libstreams.so.0 => /usr/lib64/libstreams.so.0 (0x00007fc319ba9000)
libsolid.so.4 => /usr/lib64/libsolid.so.4 (0x00007fc3198a5000)
libacl.so.1 => /lib64/libacl.so.1 (0x00007fc31969c000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007fc319498000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fc31928e000)
libnepomukquery.so.4 => /usr/lib64/libnepomukquery.so.4 (0x00007fc319041000)
libsopranoclient.so.1 => /usr/lib64/libsopranoclient.so.1 (0x00007fc318df7000)
libqca.so.2 => /usr/lib64/libqca.so.2 (0x00007fc318adc000)
libattica.so.0.4 => /usr/lib64/libattica.so.0.4 (0x00007fc3187e5000)
libdbusmenu-qt.so.2 => /usr/lib64/libdbusmenu-qt.so.2 (0x00007fc3185b2000)
libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007fc3183ab000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fc3181a1000)
libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fc317f9b000)
libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007fc317d98000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fc317a61000)
libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fc31782e000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fc317592000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fc317341000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fc317104000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fc316ef4000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fc316cce000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fc316ab3000)
libfam.so.0 => /usr/lib64/libfam.so.0 (0x00007fc3168ab000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fc3166a6000)
librt.so.1 => /lib64/librt.so.1 (0x00007fc31649e000)
/lib64/ld-linux-x86-64.so.2 (0x000055db0b638000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fc316299000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fc31607a000)
libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fc315e51000)
libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007fc315bd2000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fc31586b000)
libudev.so.1 => /lib64/libudev.so.1 (0x00007fc315645000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fc315435000)
libffi.so.6 => /usr/lib64/../lib64/libffi.so.6 (0x00007fc31522c000)
 
Old 11-17-2016, 12:26 AM   #7
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Original Poster
Rep: Reputation: Disabled
I'm going to sleep ... tomorrow I'll try to solve it or install kde, then go back to uninstall and observe the effect it has on okular.

Thank you.
 
Old 11-17-2016, 07:00 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
According to Salix's dependency list for okular, you need these packages that are under the kde/ folder.

Code:
kactivities
kdegraphics-mobipocket
kdelibs
libkexiv2
libkscreen
NOTE: kde-runtime is not listed in there, so this may not be a complete list. But hopefully this will be enough to get okular up and running.
 
1 members found this post helpful.
Old 11-17-2016, 09:12 AM   #9
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Original Poster
Rep: Reputation: Disabled
I had not realized the absence of kde-rutime. Although I made the installation using slackpkg, I suspect that some missing dependency of it made it not work at 100%. When I get out of work I check it out.

Thanks.
 
Old 11-17-2016, 09:49 AM   #10
bateleur
Member
 
Registered: Feb 2016
Distribution: Slackware
Posts: 31

Rep: Reputation: Disabled
When I tried to install only Okular, I installed: kactivities, kdelibs, libkexiv2, libkscreen, but I also had to install oxygen-icons, otherwise Okular wouldn't start either.
 
Old 11-17-2016, 08:43 PM   #11
xaxlm
LQ Newbie
 
Registered: Nov 2016
Location: México City
Distribution: Debian & Slackware
Posts: 25

Original Poster
Rep: Reputation: Disabled
Excellent! Bassmadrigal, thanks to your observations, I have it going. Thanks everyone for your help. I consider this post resolved. :v
 
  


Reply



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
Okular bookmarks, annotations lost for renamed PDFs, etc. (Okular 0.16.2, KDE 4.10.2) Geremia Linux - Software 6 10-22-2019 05:27 AM
mktexpk error when trying to view .dvi file in okular amon_anon61 Linux - Software 0 05-28-2016 10:44 PM
execution error 14hei Linux - Newbie 1 09-17-2015 06:00 PM
LXer: Gentoo: 201311-20 Okular: Arbitrary code execution LXer Syndicated Linux News 0 11-30-2013 05:12 AM
Direct opening of pdf files with okular giving error. raju.mopidevi SUSE / openSUSE 0 11-26-2009 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration