Subject: pkg/11189: pkg tcl-8.3.2 won't compile on i386 1.4.1
To: None <>
From: David Rankin <>
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
>Originator:     David Rankin
>Release:        1.4.1, current pkgsrc (as of today)
Bohemians Unincorporated
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

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

	Run above example on 1.4.1 system.
	On lines 433 and 437 of the file unix/, remove the
item @TCL_LD_SEARCH_FLAGS@ . This will prevent the bad -rpath insertion.