[KPhotoAlbum] kphotoalbum crashes at start
Johannes Zarl-Zierl
johannes at zarl-zierl.at
Fri Oct 21 18:59:26 BST 2016
Hi Dominik,
I'm taking you in to this thread because I think there might be a packaging
bug.
Short(ish) summary of the situation:
Rupert Mohr uses the kphotoalbum 4.7.2 from your xenial ppa.
On his system, kphotoalbum crashes at startup.
Looking at the output of ldd, his kphotoalbum binary links to both Qt4 and Qt5
libraries.
The Qt5 libraries seems to be transitively linked via either of these:
libkipi.so.11
libkface.so.3
libkgeomap.so.2
Looking at the build log[1], there is indeed a kf5 package (libkf5kipi-data)
mentioned.
Is it possible, that this is the cause for the linker problem?
Cheers,
Johannes
[1] https://launchpadlibrarian.net/280153289/buildlog_ubuntu-xenial-amd64.kphotoalbum_4.7.2-1ubuntu0~ppa5_BUILDING.txt.gz
On Freitag, 21. Oktober 2016 16:57:39 CEST Rupert Mohr wrote:
> ok... here comes the output.. should I remove qt4?
>
> Zitat:
> > Hi,
> >
> > On Freitag, 21. Oktober 2016 06:34:54 CEST Rupert Mohr wrote:
> > > dl3no at dl3no-HP:~/tmp$ apt-cache depends kphotoalbum
> > > kphotoalbum
> >
> > [...]
> >
> > The package dependencies look fine to me.
> >
> > > dl3no at dl3no-HP:~/tmp$ ldd `which kphotoalbum` |grep Qt
> >
> > [...]
> >
> > > libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4
> >
> > [...]
> >
> > > libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5
> >
> > [...]
> >
> > This is definitely the problem. A package cannot link to both Qt4 and Qt5.
> > KPhotoAlbum 4.x must only link to Qt4.
> >
> > Most probably a dependency of kphotoalbum updated to Qt5 without properly
> > changing the soname, thus allowing kphotoalbum to be linked against the
> > wrong version.
> >
> > You should be able to find the problematic package by looking at the
> > output of "ldd --verbose `which kphotoalbum`"
> >
> > HTH,
> >
> > Johannes
More information about the Kphotoalbum
mailing list