[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTBFS: python



At Sun, 2 Nov 2003 19:53:31 +0100 (CET),
Santiago Vila wrote:
> 
> And this is what happens when compiling python2.3:
> 
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -fno-strict-aliasing -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/include/tcl8.4 -I/usr/X11R6/include -I. -I/build/buildd/python2.3-2.3.2/./Include -I/build/buildd/python2.3-2.3.2/Include -I/build/buildd/python2.3-2.3.2/build-static -c /build/buildd/python2.3-2.3.2/Modules/_tkinter.c -o build/temp.gnu-0.3-i386-AT386-2.3/_tkinter.o
> gcc -shared build/temp.gnu-0.3-i386-AT386-2.3/_tkinter.o build/temp.gnu-0.3-i386-AT386-2.3/tkappinit.o -L/usr/X11R6/lib -lBLT -ltk8.4 -ltcl8.4 -lX11 -o build/lib.gnu-0.3-i386-AT386-2.3/_tkinter.so
> python: ../../libpthread/sysdeps/generic/pt-mutex-timedlock.c:55:
> __pthread_mutex_timedlock_internal: Assertion `__pthread_threads'
> failed.

It seems that the pthread init hook is not being run by libc during
start up.  Try adding -lpthread and see if that makes a difference.



Reply to: