0.26 Linux: Crash on start

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

kotyz
Posts: 4
Joined: Thu Jun 17, 2010 2:12 pm

0.26 Linux: Crash on start

Post by kotyz »

XnViewMP crashes on start/fails to start.

The output in terminal says:

[kotyz@behemot ~]$ xnviewmp
Cannot mix incompatible Qt libraries
/usr/bin/xnviewmp: řádek 7: 6274 Neúspěšně ukončen (SIGABRT) $dirname/xnview "$@"

I have Arch Linux (32bit) with Qt 4.6.3.
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.26 Linux: Crash on start

Post by xnview »

please use the .sh to start xnviewmp
Pierre.
kotyz
Posts: 4
Joined: Thu Jun 17, 2010 2:12 pm

Re: 0.26 Linux: Crash on start

Post by kotyz »

Still the same problem when I start xnview using xnview.sh

[kotyz@behemot XnViewMP-026]$ ./xnview.sh
Cannot mix incompatible Qt libraries
./xnview.sh: line 7: 12266 Aborted $dirname/xnview "$@"
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.26 Linux: Crash on start

Post by xnview »

Which files do you have in the XnViewMP folder?
Pierre.
kotyz
Posts: 4
Joined: Thu Jun 17, 2010 2:12 pm

Re: 0.26 Linux: Crash on start

Post by kotyz »

[kotyz@behemot XnViewMP-026]$ ls -la
total 5904
drwxr-xr-x 6 kotyz users 4096 Mar 16 14:15 .
drwxr-xr-x 11 kotyz users 4096 Jun 21 22:43 ..
drwxr-xr-x 4 kotyz users 4096 Mar 30 16:03 AddOn
drwxr-xr-x 2 kotyz users 4096 Oct 2 2009 Plugins
-rw-r--r-- 1 kotyz users 198 Mar 16 14:00 README
-rw-r--r-- 1 kotyz users 247 Mar 16 13:58 XnView.desktop
-rw-r--r-- 1 kotyz users 3945 Sep 28 2009 country.txt
drwxr-xr-x 2 kotyz users 4096 Mar 30 15:30 language
drwxr-xr-x 3 kotyz users 4096 Mar 16 14:03 lib
-rwxr-xr-x 1 kotyz users 5984720 Mar 30 15:29 xnview
-rw-r--r-- 1 kotyz users 2341 Jan 11 2008 xnview.png
-rwxr-xr-x 1 kotyz users 155 Mar 16 14:03 xnview.sh
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.26 Linux: Crash on start

Post by xnview »

Where are the Qt libs?? You have downloaded my archive??
Pierre.
kotyz
Posts: 4
Joined: Thu Jun 17, 2010 2:12 pm

Re: 0.26 Linux: Crash on start

Post by kotyz »

Qt libs are in the lib subdirectory inside the XnViewMP-026 directory.
I downloaded the xnviewmp archive from here: http://download.xnview.com/XnViewMP-linux.tgz
User avatar
xnview
Author of XnView
Posts: 44470
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.26 Linux: Crash on start

Post by xnview »

kotyz wrote:Qt libs are in the lib subdirectory inside the XnViewMP-026 directory.
I downloaded the xnviewmp archive from here: http://download.xnview.com/XnViewMP-linux.tgz
In the package the library are not in lib folder :-)
Pierre.
bootmaker
Posts: 4
Joined: Mon Nov 01, 2010 5:52 pm

Re: 0.26 Linux: Crash on start

Post by bootmaker »

I upgrade qt4 from qt-4.6.2 to qt-4.6.3. Linux version: Gentoo.
xnview.sh say:

Code: Select all

Cannot mix incompatible Qt libraries
update links from /opt/Xnview/lib/libQtxxxxxXn.so .4 to /usr/lib/qt4/libQtxxxxx.so.4 no take effect.
xnview.sh say:

Code: Select all

w.init


########### BrowserWindow :: BrowserWindow 

MENU install : 86b0cf0 
Object::connect: No such signal MyThumbThread::thumbUpdated(int)
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Object::connect: No such signal MyThumbView::thumbUpdated(int, const QImage&)
Object::connect: No such signal MyThumbView::thumbUpdated(int, const QImage&)
QMainWindow::setCorner(): 'area' is not valid for 'corner'
########### BrowserWindow :: ok create (640 480)
/opt/XnViewMP/xnview: symbol lookup error: /opt/XnViewMP/xnview: undefined symbol: _ZN11QMainWindow13changeMenuBarEP8QMenuBar