Wine on 5.3-STABLE and threading

Jonathan Fosburgh jonathan at
Wed Dec 22 05:54:22 PST 2004

I was very happy to find out that Wine is working again on FreeBSD.  I see the 
note about being broken in 4.x due to threading support, but my problem is on 
current. If using libpthread wine applications (such as notepad) fail shortly 
after launch with the error:

Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 474 
in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 22)

which is the same failure I was getting with the May snapshot.  However, if I 
use libthr, wine works just fine. On further investigation, I found the 
following files in /usr/local/lib/wine had dependencies on a threading,,,,,,, and  Except for, all of these seem to be picking up their threading 
dependency from /usr/X11R6/lib/  If I setup libmap.conf to make 
that file use libthr, then wine works, though I also have to make other apps 
dependant on libGL use libthr as well in order to work.  Presumably, wine 
should work with GL enabled using libpthread.  Any thought?

I am trying to build wine without GL support right now to see if that changes 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list