Solved

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

Posted on 2014-01-22
6
703 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

624 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