Bug 74089

Summary: libpspell has bogus dependences that explicitely include -lc
Product: [Retired] Red Hat Linux Reporter: Pawel Salek <pawsa>
Component: pspellAssignee: Eido Inoue <havill>
Status: CLOSED DEFERRED QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-19 20:59:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pawel Salek 2002-09-15 18:34:26 UTC
libpspell has bogus dependences that explicitely include -lc:
check out /usr/lib/libpspell.la, particularly dependency_libs. The list
includes: -L/usr/src/build/141109-i386/BUILD/pspell-.12.2/modules/.libs 
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../.. 

What is more important, it also includes explicitely -lc that makes it very
difficult - if not impossible - to link a threaded program.

How reproducible:
Always

Steps to Reproduce:
1. Just list the file.  or try linking a test threaded program that does fork
against this library.
	

Actual Results:  Described above.

Expected Results:  The linking order will become incorrect because libc will be
linked before libpthread, which will cause that the for example fork() function
will misteriously hang (becuse it will be taken from libc instead of libpthread).

Comment 1 Eido Inoue 2003-02-19 20:59:06 UTC
aspell will be revamped in the next release

Comment 2 Pawel Salek 2003-02-19 21:13:57 UTC
Any chance of distributing, say, aspell-0.50.x?