I think this is because the makefile is building a library (zip.so.1.2.3)
which is copied to  '/usr/local/lib/luarocks/rocks/luazip/1.2.3-2/lib' and
then creates a symbolic link to it (zip.so), but that folder is removed by
LuaRocks, after moving zip.so to its final destination
(/usr/local/lib/lua/5.1/zip.so in my case) . The makefile should put the
actual zip.so there.

You can edit the makefile and change the part that says "install:" with
this:

install: src/$(LIBNAME)
        mkdir -p $(LUA_LIBDIR)
        cp src/$(LIBNAME) $(LUA_LIBDIR)/$T.so

Then build using luarocks:
luarocks make ../luazip-1.2.3-2.rockspec   (I have the rockspec in the
parent directory)


Hope that helps.
​
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to