On 17 April 2015 at 23:11, Peter Billam <[email protected]> wrote:
> Greetings.
>
> I'm trying to get all my modules 5.3-compatible, and at the
> moment I'm being held up by lgdbm. On a 5.3 machine, I do:
>   luarocks install lgdbm GDBM_LIBDIR=/usr/lib/i386-linux-gnu/
> and it seems to install OK, but then when a try to use it I get:
>   /usr/local/bin/lua: error loading module 'gdbm'
>     from file '/usr/local/lib/lua/5.3/gdbm.so':
>   /usr/local/lib/lua/5.3/gdbm.so: undefined symbol: luaL_register
>
> I guess this is because the 20130702.52-2 rockspec says:
>   dependencies = {
>     "lua ~> 5.2"
>   }
> so that's throwing it back on a 5.1-compatible version, which uses
> this old luaL_register code.  I think if that were "lua >= 5.2"
> or "lua >= 5.2, <5.4" then it would work...
>
> Luiz Henrique de Figueiredo writes that:
>> I've just tried and lgdbm for Lua 5.2 works just fine for Lua 5.3
>> I suggest you compile lgdbm from source, which you can get at
>>      http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/#lgdbm
>
> On:
>   http://rocks.moonscript.org/modules/luarocks/lgdbm
> the uploader is luarocks.  What's the procedure for tweaking
> the rockspec ?

I can hand over the ownership of lgdbm in the repository to you, if
you want to maintain the rockspec. I believe I wrote the rockspecs for
many of lhf's libraries early on, but I have no desire to keep
maintaining them all — if you're using the library, perhaps it would
be a good idea to take over the rockspec ('cause I don't think lhf
himself will; at least I've never seen any movement from his part
towards supporting LuaRocks).

-- Hisham

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to