Subject: Re: xsrc/28630: Reachover X11 is missing phtread library.
To: None <>
From: Nathan J. Williams <>
List: netbsd-bugs
Date: 12/13/2004 15:15:31
Matthias Scheler <> writes:

> On Sun, Dec 12, 2004 at 10:01:22PM +0100, Juergen Hannken-Illjes wrote:
> > So neither nor appres get the thread library (-lpthread).
> Because they do *not* need to. XFree86 uses some kind of wrapper
> arround threads so that not all application need "libpthread"
> just because the libraries support it.
> Nathan:
> Are you sure that these changes ...

That change is correct. The problem exposed here was that threadlib.h
had a stub for pthread_cond_wait and the stub support I added to
pthread.h did not. I've fixed that.

It should continue to be true that none of the X libraries actually
need to be linked against libpthread; I've done a successful build and
verified that.

        - Nathan