From owner-freebsd-current@freebsd.org Sat Oct 27 16:35:02 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6549210CB38A for ; Sat, 27 Oct 2018 16:35:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A22A70F02 for ; Sat, 27 Oct 2018 16:35:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id ACB0027F2A for ; Sat, 27 Oct 2018 16:35:01 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f50.google.com with SMTP id p11-v6so3113261lfc.6 for ; Sat, 27 Oct 2018 09:35:01 -0700 (PDT) X-Gm-Message-State: AGRZ1gJ5wKICIrFKzVAFwbbj1x2GSQ+WPZ6fI/Wu7oc4672it3TMxfVQ gmy5twQs0IlorNycFaaM9CW//8dJRTPRLklNX1Q= X-Google-Smtp-Source: AJdET5fRcpi+tVSzvtZNhd9qroE2FBFm7xvegAt/JAEfN6fX4duTbOwnKXAm/H+dKDwTuqPzHCmyVN5EXHwg5TdvJlU= X-Received: by 2002:a19:6803:: with SMTP id d3-v6mr4882143lfc.45.1540658100169; Sat, 27 Oct 2018 09:35:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Sat, 27 Oct 2018 11:34:48 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 13-CURRENT lua loader complains dynamic libs not supported To: rebecca@bluestop.org Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 16:35:02 -0000 On Sat, Oct 27, 2018 at 10:49 AM Rebecca Cran 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.