Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2005 19:22:46 +0100
From:      "Björn König" <bkoenig@cs.tu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gerald@FreeBSD.org
Subject:   ports/88894: Port lang/gcc40: missing run-time dependency libiconv 
Message-ID:  <20051112182246.E69F852869@eurystheus.local>
Resent-Message-ID: <200511121830.jACIU90v099343@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051112182246.E69F852869>