[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in libpthread while running prog linked with libpython2.5 and
Re: Error in libpthread while running prog linked with libpython2.5 and libfshelp
Sun, 15 Jun 2008 01:00:49 +0100
Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a écrit :
> But if I compile it with command:
> $gcc -o pytest pytest.c -lpython2.5 -lfshelp
> and when I run it, I get error:
> pthread_self: Assertion `__pthread_threads' failed.
That's because you have a conflict between libpthread and libcthread.
fshelp uses cthread, and in that case libc doesn't initialize
libpthread. It is one of the tasks on savannah to port hurd stuff on
libpthread instead of libcthread precisely for such issues :/