Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2018 11:34:48 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        rebecca@bluestop.org
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 13-CURRENT lua loader complains dynamic libs not supported
Message-ID:  <CACNAnaGigX=nuz9UgzP_tHcOXbZ51fNoUeSk=VV2gsYeungXDg@mail.gmail.com>
In-Reply-To: <etPan.5bd488fc.327b23c6.16b9@bluestop.org>
References:  <etPan.5bd488fc.327b23c6.16b9@bluestop.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 27, 2018 at 10:49 AM Rebecca Cran <rebecca@bluestop.org> wrote:
>
> When booting a recent 13-CURRENT installation, I=E2=80=99m seeing the fol=
lowing:
>
> Startup error in /boot/lua/loader.lua:
> LUA ERROR: /boot/lua/loader.lua:45: error loading module =E2=80=98local=
=E2=80=99 from file =E2=80=98/usr/local/lib/lua/5.3/local.so=E2=80=99:
>  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGigX=nuz9UgzP_tHcOXbZ51fNoUeSk=VV2gsYeungXDg>