Subject: pkg/11189: pkg tcl-8.3.2 won't compile on i386 1.4.1
To: None <gnats-bugs@gnats.netbsd.org>
From: David Rankin <drankin@bohemians.lexington.ky.us>
List: netbsd-bugs
Date: 10/10/2000 14:10:10
>Number:         11189
>Category:       pkg
>Synopsis:       pkg tcl-8.3.2 won't compile on i386 1.4.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 10 14:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Rankin
>Release:        1.4.1, current pkgsrc (as of today)
>Organization:
Bohemians Unincorporated
>Environment:
	
System: NetBSD hilda 1.4.1 NetBSD 1.4.1 (HILDA) #0: Thu Feb 10 12:16:21 EST 2000 root@hilda:/usr/src/sys/arch/i386/compile/HILDA i386


>Description:
	When attempting to compile tcl, tclsh fails to build as follows:
/usr/pkg/bin/libtool  --mode=link cc -Wl,-R/usr/pkg/lib  tclAppInit.o libtcl83.la -lm -lc  -Wl,-rpath,/usr/pkg/lib -o tclsh
cc -R/usr/pkg/lib tclAppInit.o -L.libs -ltcl83 -lm -lc -rpath /usr/pkg/lib -o .libs/tclsh -R/usr/pkg/lib
ld: /usr/pkg/lib: malformed input file (not rel or archive)
collect2: ld returned 1 exit status

>How-To-Repeat:
	Run above example on 1.4.1 system.
>Fix:
	On lines 433 and 437 of the file unix/Makefile.in, remove the
item @TCL_LD_SEARCH_FLAGS@ . This will prevent the bad -rpath insertion.

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