Subject: Recent pthread change to Mesa
To: None <pkgsrc-users@NetBSD.org>
From: Gavan Fantom <gavan@coolfactor.org>
List: pkgsrc-users
Date: 03/09/2006 11:58:08
Since libGL is no longer explicitly linked against pthread, I am unable
to build anything which depends on libGL from Mesa.
This machine is running NetBSD 2.0_RC5.
The commit message states:
"don't link libGL explicitely against libpthread, it is not
used by the library itself, the version which comes with X11 doesn't
do it, and it fixes some cases where GL is loaded dynamically"
$ strings /usr/pkg/lib/libGL.so.1.0.5 | grep pthread
pthread_mutex_lock
pthread_mutex_unlock
pthread_mutex_init
pthread_mutex_destroy
pthread_once
pthread_self
pthread_key_create
pthread_getspecific
pthread_setspecific
Any attempt to use libGL in a configure script fails to link due to an
inability to find these symbols.
Is this:
* an incomplete change to Mesa
* a bug in every package which uses libGL
* something left over on my system?
It shouldn't be the latter, because I ran pkg_chk -r before building
anything. So, unless there's a PKGREVISION bump missing somewhere...
--
Gillette - the best a man can forget