Subject: Re: make of pkg tk80 fails on NetBSD/pmax 1.3.
To: None <current-users@NetBSD.ORG>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: current-users
Date: 02/03/1998 17:17:04
I wrote:

>Investigation shows that the linker is failing because the pkg system
>isn't making the symlinks required by NetBSD's ELF subsystem (At
>least, they're required on a pmax, and I copied the setup from the
>alpha.  See the symlink rules in
>Making the symlinks -> and ->
> and rerunning make seems to work.  But the pkg system
>should be using the correct NetBSD rules to build libraries.

Which then immediately fails after building and installing tcl and
linking an gainst it -- expect, if it matters -- because the pkg
makefile isn't setting either the rpath, rpath-link, or soversion
appropriately for ELF (at least, ELF on on a BSD box):

ldd ./work/expect-5.25/expect
         -ltcl80 => not found
         -lutil.4 => /usr/lib/
         -lm.0 => /usr/lib/
         -lc.12 => /usr/lib/

Grr. No version number, no matching lib. (at least I think that's
what's wrong: I triple-checked /usr/pkg/lib and

Again, see either, or the ELF imake template in our X11 tree.
Unless someone can confirm this all `Just Works'  on  NetBSD/Alpha?

Not to knock the package people, they're clearly doing an incredibly
useful job on a.out systems, and possilby Alphas, but this is *very*
frustrating to see after being encouraged to make binary packages...