Re: Error in libpthread while running prog linked with libpython2.5 and libfshelp

2008-06-14 Thread Anatoly A. Kazantsev
On Sun, 15 Jun 2008 01:00:49 +0100 Samuel Thibault <[EMAIL PROTECTED]> wrote: > Hello, > > 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: > > pytest:

Re: Error in libpthread while running prog linked with libpython2.5 and libfshelp

2008-06-14 Thread Samuel Thibault
Hello, 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: > pytest: > /build/mbanck/hurd-20080607/build-tree/hurd/libpthread/pthread/pt-self.c:28: > pthread_sel

Error in libpthread while running prog linked with libpython2.5 and libfshelp

2008-06-14 Thread Anatoly A. Kazantsev
Hello. I wrote simple program. pytest.c: #include int main (void) { Py_Initialize(); return 0; } Compile it with command: $gcc -o pytest pytest.c -lpython2.5 And then it runs OK. But if I compile it with command: $gcc -o pytest pytest.c -lpython2.5 -lfshelp and when I run it, I get