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 ?

Regards,  Peter Billam

http://www.pjb.com.au      [email protected]     (03) 6278 9410
"Follow the charge, not the particle."  --  Richard Feynman
 from The Theory of Positrons, Physical Review, 1949


------------------------------------------------------------------------------
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