Subject: Re: runing 1.6.2 binary in to 2.0
To: Luis M. Zuccolo <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 04/26/2004 08:13:18
On Mon, Apr 26, 2004 at 02:21:36AM +0000, Luis M. Zuccolo wrote:
> I'm trying to install openh323 under netbsd 2.0 but pwlib don't compile on it.
> I know that both works fine under 1.6.2. Then i've installed compat16 and I
> added with pkg_add openh323 and pwlib but when i run it don't found shared
> libraries that are in /usr/emul/netbsd16.
The (old, 1.6 versions of the) shared libraries should be in /usr/lib.
Running native, but older, binaries of the same object type (i.e. ELF), is
not handled by the "emulation for foreign OS" methods in NetBSD. All you need
to do is install (or just keep) the old libraries in /usr/lib or /usr/pkg/lib
and add COMPAT_16 to your kernel config file. You don't need /emul for this
case at all.