Discussion:
Cannot mix incompatible Qt library (version 0x50904) with this
(too old to reply)
tech-lists
2018-05-31 14:37:46 UTC
Permalink
Hello lists,

context: 11.2-PRERELEASE #0 r333458 / ports r471194

with xpdf I get the following error:

Cannot mix incompatible Qt library (version 0x50904) with this library
(version 0x50a01),Abort (core dumped)

I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't install
these directly though, seems they've been installed as dependencies of
other ports. I'm using MATE desktop.

I've tried reinstalling xfdf via pkg and the port with the same result.
Is this a known problem/how can I fix? Have found no fix yet from GIS,
most seem to point to deleting and reinstalling everything.

thanks,
--
J.
Rod Person
2018-05-31 10:57:04 UTC
Permalink
On Thu, 31 May 2018 15:37:46 +0100
Post by tech-lists
Hello lists,
context: 11.2-PRERELEASE #0 r333458 / ports r471194
Cannot mix incompatible Qt library (version 0x50904) with this
library (version 0x50a01),Abort (core dumped)
I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't
install these directly though, seems they've been installed as
dependencies of other ports. I'm using MATE desktop.
I've tried reinstalling xfdf via pkg and the port with the same
result. Is this a known problem/how can I fix? Have found no fix yet
from GIS, most seem to point to deleting and reinstalling everything.
thanks,
I just fixed this a few week or two ago on my system. The problem is
you have difference version numbers within the qt5 library, not having
qt4 and qt5.

I ended up having to rebuild everything single qt5 library installed on
my system...pretty painful.

Here is the text of a reply to me from Mark Mollering, that help me to
track things down. Good Luck!

Wow, I literally just finished fixing this with Lumina

I did a pkg info | more and noticed that, even though I upgraded the qt5
[meta] version, there are some qt5 libraries that do not, automatically,
upgrade. I then did a manual pkg upgrade qt5-[package] I know i had
to do dbus, x11extras, svg, and a number of others. I just kept at it,
until they were all upgraded to the same release.

For Lumina, specifically, I had to do a pkg delete of all of the
packages for it (such as lumina-core, etc) I then did a pkg clean -a
(not sure if that was necessary) and pkg install. Finally, it was back
to normal.
--
Rod

http://www.rodperson.com

You can never get enough of what you don't need.
-- David Morgan
tech-lists
2018-05-31 15:11:15 UTC
Permalink
Post by Rod Person
I just fixed this a few week or two ago on my system. The problem is
you have difference version numbers within the qt5 library, not having
qt4 and qt5.
Thanks for the tip. Yes, there are versions of all kinds of qt4/5
programs that are not in complete version number agreement, on this
system. I don't usually run pkg installs although I think libreoffice
was installed as a package.

currently running portupgrade -f "qt4*"

thanks again,
--
J.
thor
2018-06-10 05:05:35 UTC
Permalink
Had a similar problem trying to produce a port of some proggie (nomina
sunt odiosa) which depends on QT5. Port mechanism built QT5 of different
version from package.


Solution:

Fully remove the QT5. Ensure that corresponding install directories are
empty or non-existent.

Then reinstall QT5 from packages, then reinstall your proggies from
packages.

Then make "some proggie" observing that nothing including QT5 is built
as a prerequisite. If something is required then stop the build and
install the dependency from package.


In the future it's worthy to raise the problem to QT5 packagers' level.
Post by tech-lists
Hello lists,
context: 11.2-PRERELEASE #0 r333458 / ports r471194
Cannot mix incompatible Qt library (version 0x50904) with this library
(version 0x50a01),Abort (core dumped)
I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't
install these directly though, seems they've been installed as
dependencies of other ports. I'm using MATE desktop.
I've tried reinstalling xfdf via pkg and the port with the same
result. Is this a known problem/how can I fix? Have found no fix yet
from GIS, most seem to point to deleting and reinstalling everything.
thanks,
Steve O'Hara-Smith
2018-06-10 08:48:24 UTC
Permalink
On Sun, 10 Jun 2018 13:05:35 +0800
Post by thor
Then make "some proggie" observing that nothing including QT5 is built
as a prerequisite. If something is required then stop the build and
install the dependency from package.
There's an easier way using the 'missing' make target that lists
all the packages needed by a port - on a system mostly populated with
packages build ports this way:

cd <port directory>
pkg install `make missing`
make install clean
--
Steve O'Hara-Smith <***@sohara.org>
Loading...