From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 11 15:00:55 2006 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27EAB16A4C1 for ; Tue, 11 Apr 2006 15:00:55 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51AB543D6B for ; Tue, 11 Apr 2006 15:00:50 +0000 (GMT) (envelope-from yuri.pankov@gmail.com) Received: by uproxy.gmail.com with SMTP id m3so782147ugc for ; Tue, 11 Apr 2006 08:00:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=WzimkTDvn1AVDOrbA6d3h2eAj3+OtXilRXZjPf1aZ+ZdLRRnzgbrvp4PFNuXVOQfKXegUBEJNmcHTTFShtvEDWmmWNVeyAiq7glTt6iGur7GCRBIDIGAMfqLosrTNrhrSqg9S1tsLgBODtQjxhZER3vrNA5eUJaKoAllcXR/jk8= Received: by 10.67.24.15 with SMTP id b15mr2345854ugj; Tue, 11 Apr 2006 07:54:17 -0700 (PDT) Received: from ?192.168.0.64? ( [85.118.141.6]) by mx.gmail.com with ESMTP id u1sm26361uge.2006.04.11.07.54.15; Tue, 11 Apr 2006 07:54:17 -0700 (PDT) Message-ID: <443BC30D.6090905@gmail.com> Date: Tue, 11 Apr 2006 18:54:05 +0400 From: Yuri Pankov User-Agent: Thunderbird 1.5 (X11/20060410) MIME-Version: 1.0 To: Pav Lucistnik References: <443BB989.9070203@gmail.com> <1144765382.4272.14.camel@pav.hide.vol.cz> <443BBC3C.6050105@gmail.com> <1144765743.4272.16.camel@pav.hide.vol.cz> In-Reply-To: <1144765743.4272.16.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-gnome@freebsd.org Subject: Re: (glib20 2.10.2) libgthread isn't linking to libpthread X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 15:00:55 -0000 Pav Lucistnik wrote: > Yuri Pankov píše v út 11. 04. 2006 v 18:25 +0400: > >> Pav Lucistnik wrote: >> >>> Yuri Pankov píše v út 11. 04. 2006 v 18:13 +0400: >>> >>> >>>> Good day. >>>> >>>> I've a problem with glib20 from marcuscom. It seems that it doesn't get >>>> linked to libpthread and I can't run at least emulators/qemu-launcher: >>>> > qemu-launcher >>>> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined >>>> symbol "pthread_getschedparam" >>>> >>>> Adding -lpthread to LDFLAGS in >>>> /usr/ports/devel/glib20/work/glib-2.10.2/gthread/Makefile seems to solve >>>> the problem. >>>> >>>> uname -a output: FreeBSD arroyo.localnet 7.0-CURRENT FreeBSD 7.0-CURRENT >>>> #2: Mon Apr 10 03:56:35 MSD 2006 >>>> root@arroyo.localnet:/usr/obj/data/src/sys/ARROYO amd64 >>>> >>>> main ports tree and merged marcuscom's one were recently updated. >>>> >>>> >>> What does your >>> >>> pkg-config --libs gthread-2.0 >>> >>> gives you? >>> >>> >>> >> # pkg-config --libs gthread-2.0 >> -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -liconv >> > > Then it's all fine. Your application is probably not using build > infrastructure properly. > > Thanks for info. I've checked the system with glib20 2.8.6 and it's the same. Sorry for not checking it before posting. Thanks, Yuri