Solved

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

Posted on 2014-01-22
6
698 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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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

734 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