[CentOS] POSIX semaphores in CentOS 5.1?

MHR

mhullrich at gmail.com
Wed Feb 6 23:42:30 UTC 2008


According to the man pages for sem_wait, etc., POSIX semaphores are
available in Linux 2.6 (with the right NTPL threading in glibc).

However, I have a program that compiles just fine but won't link because it
can't find the library for the semaphore operations.

What am I missing?

I ran a find and grep through all the libc's on the system and they turned
up nothing:

$ find /lib /usr/lib -name "*libc\.*" -print -exec nm {} 2>/dev/null \; |
grep sem_

(no results)

Time is critical (yeah, I know...).

Thanks.

mhr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080206/9995d3b7/attachment.html>


More information about the CentOS mailing list