Re: Thread error

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Sat, 28 Aug 2004 10:48:27 -0500
In the last episode (Aug 28), Justin Smith said:
> FreeBSD jsmith.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Aug 27  10:56:28 EDT 2004     jsmith_at_jsmith.org:/usr/obj/usr/src/sys/MYKERNEL  i386
> 
> When I try to run LyX compiled with the QT front end, I get
> 
> Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> Abort trap (core dumped)

This is libpthread.so's obscure way of saying "There are multiple
thread libraries linked to this executable".  It really should print a
better error message (or better yet, coordinate with the other thread
libs so this error doesn't even show up).  Run ldd -a on the binary and
find out if there are any shared libs depending on libc_r.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Sat Aug 28 2004 - 13:48:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC