Page 1 of 1
libQt5MultimediaWidgets.so.5 missing
Posted: Wed Jan 27, 2016 1:25 am
by mspacone
Hello,
I downloaded XnViewMP 0.76 to my CentOS 6.7 x64 machine. Moved the .tar.gz to /opt/XnView and extracted it.
When trying to execute XnView via ./XnView I get the following error:
./XnView: error while loading shared libraries: libQt5MultimediaWidgets.so.5: cannot open shared object file: No such file or directory
I did a quick google search of libQt5MultimediaWidgets.so.5 and saw that this was supposed to be included in the libstdc++ packages, so I installed the following:
compat-libstdc++-33.x86_64
libstdc++.x86_64
libstdc++-devel.x86_64
libstdc++-docs.x86_64
After rerunning ./XnView, I get the same exact error. The missing library that XnView is looking for makes me wonder if I need Qt5 installed on the system. I have the repositories setup so that I can do so if I want, but the list of possible Qt5 applications is quite expansive and I don't want to install anything that isn't necessary on this machine.
Here is my specific kernel version:
2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Does anyone have an idea on what I could do to get XnViewMP 0.76 running on my CentOS machine?
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Wed Jan 27, 2016 6:59 am
by Erixx haxx
Hello:
I don't use your OS so i'm not sure, but i know current xnviewmp is on QT5. Also seen a post where they was swaping .exe's
Maybe this post will help:
http://newsgroup.xnview.com/viewtopic.php?f=82&t=32584
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Wed Jan 27, 2016 6:55 pm
by mspacone
Thanks for the response! I installed pretty much everything qt5 I could find and have made good progress getting the XnView to go further than it has. Now I'm being presented with the following:
./XnView: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./XnView)
./XnView: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./XnView)
I installed:
glibc-static x86_64 2.12-1.166.el6_7.3 updates 1.4 M
glibc-utils x86_64 2.12-1.166.el6_7.3 updates 169 k
and that hasn't helped get XnView working.
From what I can see XnViewMP is complied using the absolute latest software, which makes running it on anything that's even slightly older very difficult.
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Wed Jan 27, 2016 7:15 pm
by XnTriq
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Mon Feb 01, 2016 7:06 pm
by mspacone
XnTriq, Thanks for the help. Unfortunately it hasn't seemed to help me get XnView 0.76 running and am having the same exact error as before. Here is my environment so far...
XnView is extracted here:
/opt/XnView.0.76/XnView
I found the libstdc++.so.6 here:
/usr/lib64
ls -alt | grep libstdc++.so.6
lrwxrwxrwx. 1 root root 19 Jan 26 10:46 libstdc++.so.6 -> libstdc++.so.6.0.13
-rwxr-xr-x 1 root root 989840 Jul 22 2015 libstdc++.so.6.0.13
so I copied libstdc++.so.6.* to /opt/XnView.0.76/XnView/lib and tried to run ./XnView and get the same error:
./XnView: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./XnView)
./XnView: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./XnView)
So I tried deleting it from the XnView lib directory and copied just "libstdc++.so.6.0.13" in and symlinked "libstdc++.so.6" to "libstdc++.so.6.0.13", just like in the /usr/lib64 directory and got the same exact error (didn't expect a different result).
Any other suggestions? I'm going to start to look for older versions and see if I can get any of them to run on this system. As always, thanks in advance for any further help!

Re: libQt5MultimediaWidgets.so.5 missing
Posted: Mon Feb 01, 2016 7:30 pm
by XnTriq
Hi mspacone (-:
Since the upgrade to QT5, we've had quite a few similar reports:
Unfortunately, I'm not a Linux user. Did you give any of the following alternative installers a try?
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Mon Feb 01, 2016 8:01 pm
by mspacone
XnTriq,
Yea, QT5 is quite new (at least to my world here) and we've had other pieces of software complain as well. I'd just go to CentOS 7, but i don't quite feel it's up to our 24/7 production requirements just yet. We have to run a bunch of older software which doesn't work on CentOS7 - DANG!
So I did some playing around and downloaded a bunch of older versions of XnViewMP, extracted each one to a test directory and realized that I had to set the "LD_LIBRARY_PATH" equal to the extracted XnView/lib directory to get XnView to work.
I was able to get version XnViewMP-072-linux-x64.tgz to function perfectly in this way. The next rev up is XnViewMP-075-linux-x64.tgz which is where I start to get the errors I mentioned before. I was able to verify that I indeed have QT5 installed and set the QT_PLUGIN_PATH to the directory mentioned in your quote from wwp, but it didn't jive with my system.
I really wanted to run the latest version of XnView, but I think that I'll have to rev up my CentOS distro to make that happen, and right now it's just not something I can do.
I think I'll live with XnViewMP 072 and when I rebuild these Linux machines again with CentOS 7, I'll give the latest a shot again.
I can't thank you enough for all of the help - I really do appreciate it!

Re: libQt5MultimediaWidgets.so.5 missing
Posted: Tue Feb 02, 2016 5:00 am
by XnTriq
Sorry that I can't be of more help to you, mspacone. Hopefully one of our resident Linux whizzes is going to chime in sooner or later.
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Tue Feb 02, 2016 7:24 am
by Erixx haxx
May be if you post in the thread from wwp he will see it an answer your question.
http://newsgroup.xnview.com/viewtopic.php?f=82&t=32584
From what i understand he was using a special build from Pierre. It was about 4-5 post down
From here:
http://www.xnview.com/beta/xnviewmp-x64-CentOS6.gz
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Tue Feb 02, 2016 7:39 am
by wwp
Reading..
Re: libQt5MultimediaWidgets.so.5 missing
Posted: Tue Feb 02, 2016 7:48 am
by wwp
mspacone: what you describe is the exact same issue I faced and resolved here (Erixx was definitely right about your situation).
You have to install Qt5 iibraries from EPEL repository, then install the xnview binary posted by the author on top of a normal xnviewmp installation.
References:
Installing Qt5 libs on CentOS6:
https://www.rackspace.com/knowledge_cen ... nd-red-hat
The xnviewmp binary:
http://www.xnview.com/beta/xnviewmp-x64-CentOS6.gz
Let me know if you face difficulties installing Qt5 or the extra xnviewmp binary on your CentOS6.