Leo Famulari <[email protected]> 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