From owner-freebsd-questions@freebsd.org Sat Nov 7 01:23:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65A53A250D9 for ; Sat, 7 Nov 2015 01:23:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 298921532 for ; Sat, 7 Nov 2015 01:23:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZusEJ-00050h-MM for freebsd-questions@freebsd.org; Sat, 07 Nov 2015 02:23:43 +0100 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2015 02:23:43 +0100 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Nov 2015 02:23:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: incompatible Qt library starting LyX Date: Fri, 06 Nov 2015 20:23:20 -0500 Lines: 41 Message-ID: References: Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2015 01:23:54 -0000 Will Parsons wrote: > My installation of LyX has stopped working, with a message: > > Cannot mix incompatible Qt library (version 0x40806) with this library > (version 0x40807) Abort (core dumped) > > I had updated some ports a couple of days ago, but nothing that I > thought would have affected LyX. I reinstalled lyx, qt4-corelib, and > qt4-gui, but with the same result. I don't see anything in UPDATING > that looks relevant. Does anyone have any idea how to fix this? > > % uname -a > FreeBSD anukis.local 9.3-RELEASE-p21 FreeBSD 9.3-RELEASE-p21 #0: Tue Jul > 28 08:57:41 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > You might try locating the binary that executes, then running ldd against it, e.g.: ldd somebinaryexecutable, this will show a list of libraries it was built against. ldd -a somebinaryexecutable will show a little more info which may be useful if you find that a libmap.conf entry may be useful as a temporary work around. If you use binary package management (pkg), possibly there is an error in how they were built and a PR with this information would be helpful to the powers that be. I only build through ports and know next to nothing about binary package(s). I seem to recall that the huge Qt monolithic was broken up into many pieces, and perhaps it's one, or more, of the other pieces that are subdependencies of a Lynx dependency and that's where the mismatch is. So maybe Lynx was built against the right libs but some other dependency was still linked against a crufty old one. I don't consider libmap.conf to be a fix, per se - better to find the items linked against the old lib(s) and rebuild it against the new lib(s) imho. -Mike