Bug 88894 - Port lang/gcc40: missing run-time dependency libiconv
Summary: Port lang/gcc40: missing run-time dependency libiconv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 18:30 UTC by Björn König
Modified: 2005-11-14 16:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn König 2005-11-12 18:30:08 UTC
	The C/C++ compilers of the ports lang/gcc40 and lang/gcc41 require
	libiconv to run properly.

	The library will be indirectly installed by devel/gmake and will
	be used by gcc40 and gcc41, but no run-time dependency has been set
	by these two ports.
	
	For this reason libiconv won't be installed if you install the
	package of gcc40 or gcc41.

Fix: 

Add USE_ICONV=yes to Makefile of lang/gcc40 and lang/gcc41.
How-To-Repeat: 	Make sure that libiconv is not installed.

	$ pkg_info -E 'libiconv*'

	$ pkg_add -r gcc40
	[...]
	
	$ ldd /usr/local/bin/gcc40
	/usr/local/bin/gcc40:
	        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2808a000)
	        libc.so.6 => /lib/libc.so.6 (0x28177000)
	
	$ gcc40
	/libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found,
	required by "gcc40"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-12 18:33:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to maintainer
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2005-11-14 16:25:57 UTC
State Changed
From-To: open->closed

I just updated the lang/gcc40 port accordingly as well.  Thanks!