Find the answer to your Linux question:
Results 1 to 2 of 2
Ive written some application in python on RHEL3. For some reason the python never returns. I tried different versions of pythons. but no luck. I guess there could be a ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    59

    libpthread version

    Ive written some application in python on RHEL3. For some reason the python never returns. I tried different versions of pythons. but no luck.
    I guess there could be a problem of libpthread.
    I found two different libpthreads on my machine.
    $ ls -l /lib/tls/libpthread.so.0
    lrwxrwxrwx 1 root root 18 Feb 8 06:47 /lib/tls/libpthread.so.0 -> libpthread-0.60.so

    $ ls -l /lib/libpthread.so.0
    lrwxrwxrwx 1 root root 18 Feb 8 06:47 /lib/libpthread.so.0 -> libpthread-0.10.so


    Can anyone please tell me the difference between the two libraries above. ?
    Also, the glibc2.3.2 is installed on my machine, then why the libpthread is "0.60" ?

    Also, if I want to upgrade my lib/tls/libpthread-0.6.so to lib/tls/libpthread-2.3.4.so or so.. do I need glibc-2.3.4 and above??

    Thanks in advance..

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    59
    Please reply.. I just want to know if this is a python issue or libpthread issue.
    The part of output of "pstack (python process id)" is :
    .....
    Thread 1 (Thread -1218543488 (LWP 12649)):
    #0 0x00c2e15b in sem_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
    #1 0x00000004 in ?? ()
    #2 0x080cf479 in PyThread_acquire_lock ()
    ......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...