Bug 47581

Summary: ports/math/gsl and ports/math/fftw don't use libtool from ports
Product: Ports & Packages Reporter: Sergey Aleshin <asg>
Component: Individual Port(s)Assignee: lkoeller <lkoeller>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Sergey Aleshin 2003-01-28 08:30:00 UTC
ports/math/gsl and ports/math/fftw don't use libtool from ports.
It can cause problems with multithreaded programs that uses
this libraries. Such program will be linked with both libc.so and
libc_r.so.

Fix: 

Using libtool from ports fixes the problem.
I think port maintainers must correct this ports.
How-To-Repeat: Just build this ports and check is dependencies:
[/usr/ports/math/fftw]# ldd /usr/local/lib/libfftw.so
	libm.so.2 => /usr/lib/libm.so.2 (0x2812d000)
	libc.so.4 => /usr/lib/libc.so.4 (0x28069000)
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-03-22 21:40:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lkoeller

Over to Maintainer of fftw port
Comment 2 lkoeller freebsd_committer freebsd_triage 2003-03-23 20:15:00 UTC
State Changed
From-To: open->closed

Fix libtool usage and check that libc dependency of shared libs are avoided.