guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] gnu: lua: Build with dynamic library support.


From: Ludovic Courtès
Subject: Re: [PATCH 1/1] gnu: lua: Build with dynamic library support.
Date: Thu, 29 Oct 2015 21:46:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> On Tue, Oct 27, 2015, at 11:48, Ludovic Courtès wrote:
>> By “fixing the flags”, 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’t 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]