Solved

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

Posted on 2014-01-22
6
678 Views
Last Modified: 2014-01-22
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
0
Comment
Question by:Victor Kimura
  • 3
  • 3
6 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 500 total points
ID: 39800180
If you are trying to find your glibc version you can do this:
For Redhat family:
rpm -qa | grep glibc

Open in new window

0
 

Author Comment

by:Victor Kimura
ID: 39800380
@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.
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 500 total points
ID: 39800487
Here's GNU discussion of thread-safety.

http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_concurrency.html

Can you be more specific?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:Victor Kimura
ID: 39800538
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.
0
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
ID: 39800548
There is no such command.  I have forwarded you the link that would contain this information.  These general characteristics cannot be found using a command.
0
 

Author Comment

by:Victor Kimura
ID: 39801858
Ok, thanks, frazanj. =)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now