Subject: pkg/5812: tk80: wish doesn't link
To: None <firstname.lastname@example.org>
From: Chris Jones <email@example.com>
Date: 07/21/1998 15:32:42
>Synopsis: tk80: wish doesn't link
>Responsible: gnats-admin (GNATS administrator)
>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 mathfs.math.montana.edu 1.3.1 NetBSD 1.3.1 (MATHFS) #1: Thu Apr 23 14:57:13 MDT 1998 firstname.lastname@example.org:/usr/local/src/sys/arch/pmax/compile/MATHFS pmax
In the x11/tk80 package, wish doesn't link because cc can't find
libtk80.so.1.0. This is because no soft link is created from
libtk80.so.1 or libtk80.so. (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.