Page 1 of 1

Missing dependencies

Posted: Sat Feb 01, 2020 11:32 pm
by Brad_Reed
I just tried to give XnViewMP a try on my linux laptop, but apparently I am missing a few libraries.

$ ldd /opt/XnView/XnView | grep found
libQtAV.so.1 => not found
libQtAVWidgets.so.1 => not found
libwoff2dec.so.1.0.2 => not found
libhyphen.so.0 => not found

I have qt5-5.13.2 and qt5-webkit-5.212.0_alpha3 installed. Where can I find libQtAV?

Is a download of the previous version still available?

Re: Missing dependencies

Posted: Sun Feb 02, 2020 10:44 am
by ivnmad
Hi, what distribution are you using?
Debian, Ubuntu, Fedora, etc.

Have you tried to launch the software using xnview.sh?
That script will also use the libs coming with the software.

Ivan

Re: Missing dependencies

Posted: Sun Feb 02, 2020 6:30 pm
by xnview
you need to use xnview to start it

Re: Missing dependencies

Posted: Wed Feb 12, 2020 4:08 am
by KenKeys
I'm having the same problem.

It's installed on Ubuntu from XnViewMP-linux-x64.deb

This is what I see:
/opt/XnView/xnview.sh %F
/opt/XnView/XnView: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

Re: Missing dependencies

Posted: Wed Feb 12, 2020 6:53 pm
by xnview
you need to install libopenal1-dev

Re: Missing dependencies

Posted: Sun Jun 14, 2020 11:56 am
by treviris
I'm having the same problem.
Xnview worked for me well in Ubuntu 19.10 and before, in Ubuntu 20.04 I get the error message
"error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory"
The same thing when I try to reinstall it via /opt/XnView/xnview.sh.
If I try to install libopenal1-dev (as stated above) the package is not found by the system.

Re: Missing dependencies

Posted: Sat Jul 04, 2020 12:00 am
by IcePix
I have a similar problem with Linux Mint 20 (Linuxmint 20 "ulyana" (Ubuntu 20.04 "focal") kernel 5.4.0-40-generic Cinnamon 4.6.6 Gnome 3.36.2 Bash 5.0.16(1)). Mint 20 was released a few days ago. When I run xniew or xnview.sh, I see
qt5ct: using qt5ct plugin
Segmentation fault (core dumped)

Following Pierre's post, I tried installing libopenal1-dev, but Mint 20 doesn't have it, it has libopenal-dev. Installing that did not resolve the problem. Now I can't use xnview, I am forced to use nomacs, qui n'est pas à la cheville de xnview.

Re: Missing dependencies

Posted: Mon Jul 20, 2020 9:24 am
by xnview
treviris wrote: Sun Jun 14, 2020 11:56 am If I try to install libopenal1-dev (as stated above) the package is not found by the system.
Do you have tried libopenal-dev ?

Re: Missing dependencies

Posted: Tue Aug 04, 2020 8:03 pm
by cittaul
Hi,
I've installed linuxmint 20, and like always, i got XnViewMp for images manipulations.
But actually it does not work. I've the same issue like " IcePix ":
When I run xniew or xnview.sh, I see
qt5ct: using qt5ct plugin
Segmentation fault (core dumped)
After checking "Synaptic":
qt5ct is correctly installed and his version is: 0.39-1build3
libopenal1 v1:1.19.1-1 is also installed
XnViewMp was installed using "XnViewMPv0.96.4-linux-x64.deb"

Summary configuration:
DISTRIB=LinuxMint
VERSION=20
CODENAME=ulyana

RELEASE=#46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
UBUNTU_CODENAME=focal
KERNEL=5.4.0-42-generic
HDWPLATFORM=x86_64

DESKTOP_SESSION=XFCE
WINDOWS_MANAGER=XFWM4
DESKTOP_COMPONENTS=kdevtmpfs xfce4-session xfce4-panel xfce4-notifyd polkit-gnome-au xfce4-power-man xfce4-volumed gnome-keyring-d xfce4-terminal

GTK+ 3=3.24.20
GLIB 2=2.64.3
CAIRO=1.16.0

GStreamer=gst-launch-1.0 version 1.16.2
GStreamer 1.16.2
GLIBC=Ubuntu GLIBC 2.31-0ubuntu9

Have you some some idea to solve this issue ?

PS: Big thanks for all your work and for the time spent creating and perfecting XnView

EDIT: Found an AppImage version of XnViewMp lastest version on your forum: viewtopic.php?f=82&t=40646
Using it actually, work perfectly. Thank for appimage version.