From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/1] gnu: lua: Build with dynamic library support. Date: Thu, 29 Oct 2015 21:46:29 +0100 Message-ID: <87y4el768q.fsf@gnu.org> References: <45ab1898e5c08ef1f8c7070eae77c58e5dd40296.1445918045.git.leo@famulari.name> <87oafkv5pz.fsf@gnu.org> <1445955233.2825572.421511113.088B9586@webmail.messagingengine.com> <87pp00tir8.fsf@gnu.org> <1446003135.1901797.421991889.3664784B@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zru5k-0000WY-RS for guix-devel@gnu.org; Thu, 29 Oct 2015 16:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zru5g-0001id-RZ for guix-devel@gnu.org; Thu, 29 Oct 2015 16:46:36 -0400 In-Reply-To: <1446003135.1901797.421991889.3664784B@webmail.messagingengine.com> (Leo Famulari's message of "Tue, 27 Oct 2015 23:32:15 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > On Tue, Oct 27, 2015, at 11:48, Ludovic Court=C3=A8s wrote: >> By =E2=80=9Cfixing the flags=E2=80=9D, do you mean that the .so that we = have for 5.1 >> does not actually contain position-independent code? That CFLAGS was >> ignored? > > I'm not sure about the state of our lua-5.1's liblua.so. How to test it? Good question. I was surprised to see that ldd /gnu/store/fl27mjm8kxp0rj989cd8mj67qjvl0jr3-lua-5.1.5/bin/lua | grep = liblua returns nothing. > These changes are about building Lua so that it can load Lua libraries > dynamically. Oh OK, that wasn=E2=80=99t clear to me. > $ lua -lssl > lua: error loading module 'ssl.core' from file > '/home/leo/.guix-profile/usr/lib/lua/5.1/ssl.so': > dynamic libraries not enabled; check your Lua installation OK. > Also, we need to set up the search paths to help Lua find Lua libraries. > That can be configured at build time. Indeed. Thanks, Ludo=E2=80=99.