Help - Search - Members - Calendar
Full Version: Pthreads In Fedora
Linuxhelp > Support > Programming in Linux
smas
I'm running Fedora 2 (I think) and I can't get a simple program using pthreads to work. I don't think the libc libraries installed is pthread capable. Could this be the case? If so, how do I download and install the correct libraries?

regards,
S
Hemant
This should not be the case...have you tried compiling with "-lpthreads" or "-lpthread"
(Actually i forgot whether it was pthread or pthreads and i am replying from a windows based machine)
smas
I'll give that a shot... the reason why I thought libc on my box might not be pthread capable is because I looked at the glibc site and noticed that pthreads is actually an add-on to the base glibc library (as is cryptography).

S
smas
It worked, thanks. biggrin.gif
Hemant
Welcome.....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.