This is a FAQ; you have something linked to two thread libraries.

Kris

On Wed, Oct 25, 2006 at 12:18:57PM -0400, Tuc at T-B-O-H.NET wrote:
> Hi,
> 
>       Out of no where I started to get :
> 
> Fatal error 'Spinlock called when not threaded.' at line 87 in file 
> /usr/src/lib
> /libpthread/thread/thr_spinlock.c (errno = 0)
> 
>       On alot of programs. I thought it had to do with GTK/GNOME so I
> did :
> 
>   pkgdb -Ff
>   portupgrade -rf pkg-config\*
> 
>       as per the 20061014 instructions. I got to ORBit2.0 and it did
> it again. The compile was called as :
> 
> configure:22617: cc -o conftest -O -pipe  -I/usr/local/include  
> -L/usr/local/lib
>  conftest.c -pthread -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 
> -lgthre
> ad-2.0 -lgmodule-2.0 -lglib-2.0 -liconv    >&5
> 
> and gave :
> 
> Fatal error 'Spinlock called when not threaded.' at line 87 in file 
> /usr/src/lib
> /libpthread/thread/thr_spinlock.c (errno = 0)
> 
> 
>       If I look at all the libraries :
> 
> -lgobject-2.0 : New as of Oct 25 09:53
> -lgthread-2.0 : New as of Oct 25 09:53
> -lgmodule-2.0 : New as of Oct 25 09:53
> -lglib-2.0    : New as of Oct 25 09:53
> 
>       So I'm stuck now... Help....
> 
>       My /etc/libmap.conf only does mapping by file, not
> generically  :
> 
> [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
> [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so]
> [/usr/local/Acrobat7/Browser/intellinux/nppdf.so]
> [/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
> [/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
> [/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
> [/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
> [/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
> [/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
> 
> 
>               Thanks, Tuc
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Attachment: pgptse2qW46iO.pgp
Description: PGP signature

Reply via email to