From owner-freebsd-questions@FreeBSD.ORG Fri Mar 14 17:01:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9081106566B for ; Fri, 14 Mar 2008 17:01:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B85C98FC17 for ; Fri, 14 Mar 2008 17:01:49 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id D3B041CDE4; Fri, 14 Mar 2008 09:01:48 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 14 Mar 2008 12:08:56 +0100 User-Agent: KMail/1.9.7 References: <47D7E889.8070100@eskk.nu> <200803141039.03096.fbsd.questions@rachie.is-a-geek.net> <47DA48C1.5010306@eskk.nu> In-Reply-To: <47DA48C1.5010306@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803141208.57610.fbsd.questions@rachie.is-a-geek.net> Cc: Leslie Jensen Subject: Re: Compile error, kde related? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 17:01:50 -0000 On Friday 14 March 2008 10:43:29 Leslie Jensen wrote: > > Ok, the error is generated by uic: > > ./src/tools/qmutex_unix.cpp: qWarning("Mutex unlock failure: %s", > > strerror(ret)); > > > > Which fails on pthread_mutex_unlock call. > > Could you show the output of: > > ldd /usr/local/bin/uic > > bsdpc01# ldd /usr/local/bin/uic > /usr/local/bin/uic: > libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x280d0000) > libmng.so.1 => /usr/local/lib/libmng.so.1 (0x287b2000) > libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28813000) > libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28832000) > libz.so.4 => /lib/libz.so.4 (0x28857000) > libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28869000) > libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28871000) > libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x28879000) > libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x28880000) > libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x28889000) > libXft.so.2 => /usr/local/lib/libXft.so.2 (0x2888c000) > libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2889e000) > libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 > (0x2890c000) > libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28936000) > libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28944000) > libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28a31000) > libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28a39000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28a50000) > libm.so.5 => /lib/libm.so.5 (0x28b45000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28b5a000) > libc.so.7 => /lib/libc.so.7 (0x28b65000) > libaudio.so.2 => /usr/local/lib/libaudio.so.2 (0x28c61000) > libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28c77000) > liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28cc7000) > libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x28cf7000) > libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28cfc000) > libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28d1c000) > libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28d1f000) > librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28d24000) > There's your problem. I don't see a libpthread or better on 7.x a libthr.so linked in: libthr.so.3 => /lib/libthr.so.3 (0x38b55000) is what it shows on my 7.x system. So the question is, why isn't qt built with thread support. I don't see how that's possible with the current ports makefile. Do you have a file /lib/libthr.so*? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.