Bug 90511 - possibly bad information in /usr/lib/pkgconfig/gthread-2.0.pc
possibly bad information in /usr/lib/pkgconfig/gthread-2.0.pc
Product: Red Hat Linux
Classification: Retired
Component: glib2 (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Owen Taylor
Depends On:
  Show dependency treegraph
Reported: 2003-05-08 21:21 EDT by Michael Closson
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-05-08 22:20:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michael Closson 2003-05-08 21:21:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
I think the following 2 lines in the file 
are in error,  the two lines are

Libs: -L${libdir} -lgthread-2.0 -pthread
Cflags: -pthread

I think they should be

Libs: -L${libdir} -lgthread-2.0 -lpthread

Thats it!

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Hmm..  Steps to reproduce should be obvious.

Additional info:
Comment 1 Owen Taylor 2003-05-08 21:49:17 EDT
Why do you think that?

(If you examine /usr/lib/gcc-lib/i386-redhat-linux/3.2.1/specs, you'll see
that -pthread adds -D_REENTRANT for the preprocessor and -lpthread for
the linker on Linux.)

Comment 2 Michael Closson 2003-05-08 22:20:29 EDT
Yes, you are right..
Sorry, may bad.

Note You need to log in before you can comment on or make changes to this bug.