Bug 6531 - linking with python, can't find libthreads
Summary: linking with python, can't find libthreads
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: python   
(Show other bugs)
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-10-30 09:44 UTC by corrin.lakeland
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-13 21:50:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description corrin.lakeland 1999-10-30 09:44:59 UTC
The python RPM that comes with 6.1 (Python 1.5.2) has been
compiled with threads enabled but the threads library
(libpthread, linuxthreads) isn't found by the runtime system
(does it still exist?).

This means python cannot be linked into any C program, even
one that doesn't use threads.

I tried compiling python from source and come up with the
same problem until I configured with --without-thread

Comment 1 Michael K. Johnson 1999-11-19 20:26:59 UTC
Try compiling your application with -lpthread

Comment 2 Nalin Dahyabhai 2000-01-13 21:50:59 UTC
I'm assuming that Michael's suggestion has solved your problem, and am therefore
closing this bug.  If this is not the correct solution, please reopen this bug.

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