Page 1 of 2
[Solved] Can't start in 0.76
Posted: Thu Oct 29, 2015 4:23 pm
by GoatGoat
0.76, I can't start the program at all.
"This application failed to start because it could not find or load the Qt platform plugin "xcb".
Reinstalling the application may fix this problem.
Aborted (core dumped)"
Re: Can't start in 0.76
Posted: Thu Oct 29, 2015 7:32 pm
by xnview
do you have tried to replace executable with one of these:
Linux 32bits Linux 64bits
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 1:08 am
by GoatGoat
Unfortunately, the 64 bit executable gives back the same error. The 32 bit one gives this error instead:
"./XnView-archx32: error while loading shared libraries: libQt5MultimediaWidgets.so.5: cannot open shared object file: No such file or directory"
This startup error is also present on XnViewMP 0.75 for me, if that helps.
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 6:24 am
by djcj
Does it help if you remove the libraries from the lib directory and resolve the dependencies with your package manager?
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 8:51 am
by xnview
If you rename the lib folder, same error?
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 2:24 pm
by GoatGoat
djcj wrote:Does it help if you remove the libraries from the lib directory and resolve the dependencies with your package manager?
xnview wrote:If you rename the lib folder, same error?
Yep, still getting the error after renaming/deleting the lib folder.
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 2:40 pm
by xnview
is it fedora with Gnome or KDE?
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 4:46 pm
by GoatGoat
xnview wrote:is it fedora with Gnome or KDE?
I'm using Fedora's KDE spin.
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 8:03 pm
by djcj
The xcb plugin is at lib/platforms/libqxcb.so.
Did you export the plugin and library paths before starting the binary?
Code: Select all
cd /path/to/xnview
export LD_LIBRARY_PATH="$PWD/lib"
export QT_PLUGIN_PATH="$PWD/lib"
./XnView
Re: Can't start in 0.76
Posted: Fri Oct 30, 2015 9:09 pm
by GoatGoat
djcj wrote:The xcb plugin is at lib/platforms/libqxcb.so.
Did you export the plugin and library paths before starting the binary?
Code: Select all
cd /path/to/xnview
export LD_LIBRARY_PATH="$PWD/lib"
export QT_PLUGIN_PATH="$PWD/lib"
./XnView
Okay, I've ran those commands and the results are different. Running it gives me "XNVIEW restoreGeometry before : 640 480
Segmentation fault (core dumped)". If I temporarily remove my preferences directory from ~/.xnviewmp, I get this instead, "Fontconfig error: line 21058463: syntax error
Fontconfig error: Cannot load default config file
Segmentation fault (core dumped)" The line number in the second warning changes whenever I run it again like that.
Could you educate me on what "exporting" those paths did? I'm a bit clueless here.
Re: Can't start in 0.76
Posted: Sat Oct 31, 2015 10:04 am
by xnview
It works if you start ./XnView not ./xnview.sh
Re: Can't start in 0.76
Posted: Sat Oct 31, 2015 3:10 pm
by GoatGoat
xnview wrote:It works if you start ./XnView not ./xnview.sh
I've been running ./XnView all this time for the previous posts.. Upon trying ./xnview.sh, I get a similar error. "./xnview.sh: line 5: 2140 Segmentation fault (core dumped) "$dirname"/XnView "$@"
And the four digit number changes whenever I run ./xnview.sh again.
Re: Can't start in 0.76
Posted: Mon Nov 02, 2015 10:30 am
by xnview
try to use
Code: Select all
export QT_PLUGIN_PATH=/usr/lib64/qt5/plugins
./XnView
Re: Can't start in 0.76
Posted: Mon Nov 02, 2015 3:37 pm
by GoatGoat
xnview wrote:try to use
Code: Select all
export QT_PLUGIN_PATH=/usr/lib64/qt5/plugins
./XnView
From a new XnView 0.76, I'm getting the same results as if I had ran djcj's commands from before.
"XNVIEW restoreGeometry before : 640 480
Segmentation fault (core dumped)"
Again, trying it after removing my user preferences results in that fontconfig error.
Sorry for the troubles with this one.
Re: Can't start in 0.76
Posted: Mon Nov 02, 2015 5:24 pm
by xnview
do you use this executable
Linux 32bits Linux 64bits?
It works for me on a fresh install of fedora 22 64bits KDE