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 bsd.lib.mk.)
>
>Making the symlinks libtk80.so.1 -> libtk80.so.1.0) and libtk80.so ->
>libtk80.so.1 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
./work/expect-5.25/expect:
-ltcl80 => not found
-lutil.4 => /usr/lib/libutil.so.4
-lm.0 => /usr/lib/libm.so.0
-lc.12 => /usr/lib/libc.so.12
Grr. No version number, no matching lib. (at least I think that's
what's wrong: I triple-checked /usr/pkg/lib and ld.so.conf).
Again, see either bsd.lib.mk, 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...