ports/88894: Port lang/gcc40: missing run-time dependency libiconv

Björn König bkoenig at cs.tu-berlin.de
Sat Nov 12 18:30:09 UTC 2005


>Number:         88894
>Category:       ports
>Synopsis:       Port lang/gcc40: missing run-time dependency libiconv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 18:30:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Björn König
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hoppel.local 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Nov 11 13:51:25 CET 2005 bkoenig at hoppel.local:/home/bkoenig/obj/home/bkoenig/devel/freebsd/RELENG_6_0/src/sys/HOPPEL i386


	
>Description:
	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.
	
>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"
	
>Fix:
	Add USE_ICONV=yes to Makefile of lang/gcc40 and lang/gcc41.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list