1

Under My Ubuntu 12.04, Okular worke fine until I recently run apt-get upgrade. Now I can start Okular, but when try to open a pdf file, Okular just flashes and exits. Here is the output when I run it from the terminal:

$ okular 1.pdf
Got bus address:  "unix:abstract=/tmp/dbus-42dKIwE1xj,guid=c600816fe140597aecffe6cb0000003d" 
Connected to accessibility bus at:  "unix:abstract=/tmp/dbus-42dKIwE1xj,guid=c600816fe140597aecffe6cb0000003d" 
Registered DEC:  true 
okular(27689)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(27689)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(27689)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(27689)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(27689)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Registered event listener change listener:  true 
okular: symbol lookup error: okular: undefined symbol: _ZN11KActivities16ResourceInstanceC1EmP7QObject

My Okular is installed from https://launchpad.net/~kalakris/+archive/okular, following https://unix.stackexchange.com/a/123300/674.

Thanks!

  • Looks like the upgrade broke linking for okular. If you still have the setup from the previous question, try rebuilding from the sources. Also, do you know what was upgraded? – Faheem Mitha Apr 21 '14 at 18:07
  • If you still have that directory around, just running debuild -uc -us will probably work. – Faheem Mitha Apr 21 '14 at 18:14
  • @FaheemMitha: (1) I uploaded my /var/log/apt/history.log here dl.dropboxusercontent.com/u/13029929/history.log. I installed Okular on April 5th. (2) I still have the deb file generated last time, but I deleted all the source files. Will the deb files help? – Tim Apr 21 '14 at 19:13
  • No, you'll need to fetch the sources again, and recompile it as you did before. The deb files are the binaries - basically the same thing as is installed on your system. It won't do you any good. Next time, don't delete the source, you never know when you might need it. – Faheem Mitha Apr 21 '14 at 19:43
  • I still recommend using the Kubuntu backports instead otherwise you will likely run into the same problem again and have to recompile each time. – Graeme Apr 21 '14 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.