From owner-freebsd-stable Wed May 15 18:45:52 2002 Delivered-To: freebsd-stable@freebsd.org Received: from snafu.adept.org (snafu.adept.org [63.201.63.44]) by hub.freebsd.org (Postfix) with ESMTP id 0872737B40E for ; Wed, 15 May 2002 18:45:46 -0700 (PDT) Received: by snafu.adept.org (Postfix, from userid 1000) id A7B2B9EE33; Wed, 15 May 2002 18:45:37 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by snafu.adept.org (Postfix) with ESMTP id A4FED9B001; Wed, 15 May 2002 18:45:37 -0700 (PDT) Date: Wed, 15 May 2002 18:45:37 -0700 (PDT) From: Mike Hoskins To: Yann Ramin Cc: Subject: Re: pthread Q In-Reply-To: <1021511930.442.1.camel@hamsterfactor.atpn.com> Message-ID: <20020515183913.X52109-100000@snafu.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15 May 2002, Yann Ramin wrote: > You shouldn't need to make a link to libpthread. FreeBSD contains a > pthread implementation in libc_r, which XMMS should easily use. I would > delete the libpthread links and rebuild xmms. Ok, I see: $ ls /usr/lib/libc_r* /usr/lib/libc_r.a /usr/lib/libc_r.so.4 /usr/lib/libc_r.so /usr/lib/libc_r_p.a Is this the FreeBSD implementation? I've removed linuxthreads, and when I try to compile xmms I get gtk/glib errors. So I've tried to use portupgrade to ensure glib and gtk are up to date... But get, *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB was incorrectly installed *** or that you have moved GLIB since it was installed. In the latter case, you *** may want to edit the glib-config script: /usr/local/bin/glib12-config Checking config.log reveals, configure:6298: cc -o conftest -O -pipe -I/usr/X11R6/include/gtk12 -I/usr/local /include/glib12 -D_THREAD_SAFE -DLINUXTHREADS -I/usr/local/include -I/usr/X11R6/ include -I/usr/local/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -L/us r/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lgl ib12 -lpthread -lintl -lXext -lX11 -lm 1>&5 /usr/libexec/elf/ld: cannot find -lpthread configure: failed program was: #line 6288 "configure" #include "confdefs.h" What does 'cannot find -lpthread' imply? This is what I saw in the past, which made me think I needed to install some non-existent pthreads implementation. Later, -Mike -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message