Link to home
Start Free TrialLog in
Avatar of Victor Kimura
Victor KimuraFlag for Canada

asked on

Linux command: get glibc Thread Safe or Non-Thread Safe version

Hi,

I have to find out if my glibc version is thread safe or not. How do I do that?

ldd --version
ldd (GNU libc) 2.5
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Open in new window


But it doesn't tell me if it's thread safe or not. I have to install a PHP debugger from Nusphere which states:

+===============+===========+=====================+============================+=============+==========+
| Operating     | Bitness   | Requirements        | Archive or                 | Directory   | Comments |
| system        | and CPU   |                     | Location                   | inside      |          |
+---------------+-----------+---------------------+----------------------------+-------------+----------+
| Linux         | x86, 32   | glibc >= 2.3        | dbg-6.1.4-Linux.tar.gz     | x86         |          |
| Linux         | x86, 64   | glibc >= 2.3        | dbg-6.1.4-Linux.tar.gz     | x86_64      | 7        |
| Linux         | arm, 32   | glibc >= 2.15       | dbg-6.1.4-Linux.tar.gz     | armv5       | 4        |
| Linux         | x86, 32   | TS glibc >= 2.3     | dbg-6.1.4-Linux.tar.gz     | x86_TS      |          |
| Linux         | x86, 64   | TS glibc >= 2.3     | dbg-6.1.4-Linux.tar.gz     | x86_64_TS   | 7        |
| Linux         | arm, 32   | TS glibc >= 2.15    | dbg-6.1.4-Linux.tar.gz     | armv5_TS    | 4    

Open in new window


Sorry the layout looks messy and hard to read so I'm just uploading the text file and snapshot.
Screenshot-2014-01-22-06.23.48.png
readme.txt
SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Victor Kimura

ASKER

@farzanj, that's great. Thank you! But how do I know if that glibc is non thread safe or thread safe?

I think it's non thread safe.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I use Nusphere PHP IDE (http://nusphere.com). For remote debugging they have their own debug-php.so module for remote debugging. Download the readme.txt file from my initial post thread. I think it's the non-thread that I have to install.

Just wondering what the linux command is for finding out if the glibc is the thread safe or no thread safe.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, thanks, frazanj. =)