Re: 13-CURRENT lua loader complains dynamic libs not supported

From: Kyle Evans <kevans_at_freebsd.org>
Date: Sat, 27 Oct 2018 11:34:48 -0500
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.
Received on Sat Oct 27 2018 - 14:35:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC