0

I installed ubuntu 19.04 today and got the problem that XnView will not start. It,s don't matter if I try from UI or terminal Any ideas?

Regards

Anders

Anders Weinberg
  • 131
  • 1
  • 1
  • 6

1 Answers1

5

The XnViewMP .deb file does not install a needed library.

To fix this open a terminal windows (ctrl+alt+t) and enter the command

sudo apt install libopenal1

How I determined this:

When running xnview from a terminal, an error indicating the library libopenal1.so.1 could not be found. Using the tools at https://packages.ubuntu.com/ I was able to determine that the needed package is libopenal1

Charles Green
  • 21,339
  • Thank you very much. Now Xnview starts. – Anders Weinberg May 16 '19 at 07:50
  • Thank you very much. That solved the problem with start XnView. Now I have another problem. The GPS tab is empty. In previous versions, the problem could be solved by installing libssl1.0-dev. This seems not possible anymore. Do you know a solution to this problem also? :)) – Anders Weinberg May 16 '19 at 08:05
  • @AndersWeinberg Apparently you might need to view->RebuildThumbnails. I don't have a camera with GPS, so I have to enter some (in EXIF data) - this resulted in the appearance of the GPS tab a little later on. – Charles Green May 16 '19 at 13:37
  • @AndersWeinberg If the answer that I wrote helped you, please consider marking it as 'accepted'! – Charles Green May 16 '19 at 13:37
  • Sorry I missed to mark your excellent answer accepted. I can start Xnview now but still the GPS tab Is empty. This problem I hade in Ubuntu 18.04 & 18.10 but it could be solved by installing libssl1.0-dev. I can not find libssl1.0-dev in synaptic, tus I can not install it. Rebuild of humbnails do not help. – Anders Weinberg May 16 '19 at 13:52
  • I tested it in 19.04, and got the GPS tab after entering the data onto a picure (and restarting XnView) - I don't have libssl1.0 on that machine... The equivalent package in 19.04 is libssl-dev – Charles Green May 16 '19 at 14:05
  • It seems that the gps info from the camera (Canon 6D MK II) is no longer read correct. I have the libssl-dev installed but no GPS info or map is visible... – Anders Weinberg May 16 '19 at 14:46
  • @AndersWeinberg check way down in the exif data. If you need to collect it in bulk, you could use exiftool – Charles Green May 17 '19 at 13:07
  • What did you search in packages.ubuntu.com? I search xnview and it says my search has no results. – aderchox Jul 14 '20 at 23:36
  • 1
    @aderchox I may have mis-typed the name of the library - it should have been libopenal.so.1 You can search package contents from the webpage, and if you search for the library specifically, the only package which comes up is libopenal1 – Charles Green Jul 16 '20 at 15:18