Subject: Re: packages, rpaths, compat, oh my!
To: None <netbsd-help@netbsd.org>
From: Richard M Kreuter <kreuter@progn.net>
List: netbsd-help
Date: 09/18/2004 19:10:57
Lubomir Sedlacik <salo@Xtrmntr.org> writes:
> On Sat, Sep 18, 2004 at 06:00:26PM -0400, Richard M Kreuter wrote:

>> [when I add "-Wl,-R"...]
>
> pkgsrc wrappers remove it.

Aha. I see where it's being done, but I can't figure out why this is
done. I assume that it's for some reason; any idea how bad it is to
try to get around it?

>> [Things that didn't work]
>
> the easiest solution i can think of is to add /usr/pkg/emul/netbsd16 to
> your /etc/ld.so.conf on 2.0_BETA hosts.

This breaks 2.0 binaries (at least some):

<after editing ld.so.conf>
$ ldd /usr/bin/vi
/usr/bin/vi:
         -lcurses.6 => /usr/lib/libcurses.so.6
         -lc.12 => /emul/netbsd16/usr/lib/libc.so.12
$ vi
vi: Undefined PLT symbol "__unsetenv13" (symnum = 165)

--
Richard