
June 14th, 2008, 07:30 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Error in libpthread while running prog linked with libpython2.5and libfshelp
Hello,
Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a :
But if I compile it with command:
$gcc -o pytest pytest.c -lpython2.5 -lfshelp
and when I run it, I get error:
pytest: / 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 :/
Samuel
|