From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 11 14:31:34 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 430CE16A404 for ; Tue, 11 Apr 2006 14:31:34 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A08A43D7F for ; Tue, 11 Apr 2006 14:31:30 +0000 (GMT) (envelope-from yuri.pankov@gmail.com) Received: by uproxy.gmail.com with SMTP id m3so776553ugc for ; Tue, 11 Apr 2006 07:31:29 -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=knrXcoIyfoUBDMgPPXnZr5wnccLYj2Hs4YPxDWz+gIiZNaGuxp71vbC9b1pWY9pqpo8SOvU5f24GzJ5aWXQX2ouTqEbMz9PcJoECQLcbbt+WHbCdDqPeWqWCpP4TIYxBY0wnx+r9hebppkNll6JruUo9kHrrpsLMOv2mHIaIRN4= Received: by 10.67.19.13 with SMTP id w13mr2949802ugi; Tue, 11 Apr 2006 07:25:13 -0700 (PDT) Received: from ?192.168.0.64? ( [85.118.141.6]) by mx.gmail.com with ESMTP id k30sm2956ugc.2006.04.11.07.25.11; Tue, 11 Apr 2006 07:25:13 -0700 (PDT) Message-ID: <443BBC3C.6050105@gmail.com> Date: Tue, 11 Apr 2006 18:25:00 +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> In-Reply-To: <1144765382.4272.14.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 14:31:34 -0000 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 Thanks, Yuri