Solved

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

Posted on 2014-01-22
6
683 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 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