Bug 74089 - libpspell has bogus dependences that explicitely include -lc
Summary: libpspell has bogus dependences that explicitely include -lc
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pspell
Version: 8.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Eido Inoue
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-15 18:34 UTC by Pawel Salek
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-02-19 20:59:06 UTC
Embargoed:


Attachments (Terms of Use)

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?


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