13-CURRENT lua loader complains dynamic libs not supported

Kyle Evans kevans at freebsd.org
Sat Oct 27 16:35:02 UTC 2018


On Sat, Oct 27, 2018 at 10:49 AM Rebecca Cran <rebecca at bluestop.org> wrote:
>
> When booting a recent 13-CURRENT installation, I’m seeing the following:
>
> Startup error in /boot/lua/loader.lua:
> LUA ERROR: /boot/lua/loader.lua:45: error loading module ‘local’ from file ‘/usr/local/lib/lua/5.3/local.so’:
>  dynamic libraries not enabled: check your Lua installation.

Hmm... something's definitely amiss here- there's no reason this
should be munging through /usr/local/... at all- it's not in the
LUA_PATH. I'd be interested in knowing if there's anything funky about
your build or run setup- I have lua53 installed, but I don't seem to
have any odd interactions.

> I then have to load the zfs module manually.

This should also not be a thing; try-include (loader.lua:45) is
designed to use pcall, which should sandbox the actual inclusion and
recover from failures more neatly.


More information about the freebsd-current mailing list