+ PKG_PATH=/data/packages/NetBSD/trunk/x86_64/All /usr/tools/sbin/pkg_add -K /usr/pkg/pkgdb cwrappers-20220403 checkperms-1.12 suse_compat-13.1 suse_locale-13.1nb4 suse_x11-13.1nb7
pkg_add: package `cwrappers-20220403' already recorded as installed
suse_base-13.1nb17: rebuilding run-time library search paths database
suse_base-13.1nb17: populating /usr/pkg/emul/linux/dev
suse_base-13.1nb17: creating symlink /usr/pkg/emul/linux -> /emul/linux
suse_compat-13.1: rebuilding run-time library search paths database
suse_locale-13.1nb4: rebuilding run-time library search paths database
suse_x11-13.1nb7: rebuilding run-time library search paths database
===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.3 2020/10/14 18:09:13 nia Exp $

Do not forget to modload the compat_linux or compat_linux32 modules.
Linux binaries require these in order to work. In older NetBSD versions
these will be autoloaded. Edit /etc/modules.conf to load the modules
automatically on boot.

Some Linux binaries also require tmpfs to be mounted on /dev/shm.
This can be automated by adding the following to your /etc/fstab:

tmpfs /emul/linux/dev/shm tmpfs rw,-m1777

===========================================================================