[Solved] Can't start in 0.76
Moderators: helmut, XnTriq, xnview
[Solved] Can't start in 0.76
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)"
"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)"
Last edited by GoatGoat on Tue Aug 22, 2023 10:14 pm, edited 4 times in total.
Re: Can't start in 0.76
Pierre.
Re: Can't start in 0.76
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
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
djcj wrote:Does it help if you remove the libraries from the lib directory and resolve the dependencies with your package manager?
Yep, still getting the error after renaming/deleting the lib folder.xnview wrote:If you rename the lib folder, same error?
Re: Can't start in 0.76
I'm using Fedora's KDE spin.xnview wrote:is it fedora with Gnome or KDE?
Re: Can't start in 0.76
The xcb plugin is at lib/platforms/libqxcb.so.
Did you export the plugin and library paths before starting the binary?
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
Okay, I've ran those commands and the results are different. Running it gives me "XNVIEW restoreGeometry before : 640 480djcj 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
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
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 "$@"xnview wrote:It works if you start ./XnView not ./xnview.sh
And the four digit number changes whenever I run ./xnview.sh again.
Re: Can't start in 0.76
try to use
Code: Select all
export QT_PLUGIN_PATH=/usr/lib64/qt5/plugins
./XnView
Pierre.
Re: Can't start in 0.76
From a new XnView 0.76, I'm getting the same results as if I had ran djcj's commands from before.xnview wrote:try to useCode: Select all
export QT_PLUGIN_PATH=/usr/lib64/qt5/plugins ./XnView
"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
do you use this executable Linux 32bits Linux 64bits?
It works for me on a fresh install of fedora 22 64bits KDE
It works for me on a fresh install of fedora 22 64bits KDE
Pierre.