Subject: pkg/5812: tk80: wish doesn't link
To: None <>
From: Chris Jones <>
List: netbsd-bugs
Date: 07/21/1998 15:32:42
>Number:         5812
>Category:       pkg
>Synopsis:       tk80: wish doesn't link
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 21 14:35:00 1998
>Originator:     Chris Jones
Department of Mathematical Sciences, Montana State University
>Release:        <NetBSD-current source date>pkgsrc supped yesterday
System: NetBSD 1.3.1 NetBSD 1.3.1 (MATHFS) #1: Thu Apr 23 14:57:13 MDT 1998 pmax

In the x11/tk80 package, wish doesn't link because cc can't find  This is because no soft link is created from or  (wish is trying to link against libtk in
the current directory, before the library is installed globally.)

This is probably only a problem on ELF machines.

cd /usr/pkgsrc/x11/tk80 && make


The quick fix is to make the soft link after make bombs out.

A slightly better fix would be to add a post-extract script which
would make the link.

The correct fix (IMO) would be to modify the Makefile in the unix
directory, where wish and libtk are built, to make the soft link.