Recent versions (latest git included) give this error when trying to require "lanes":
lua: error loading module 'lanes.core' from file '/home/hinrik/.luarocks/lib/lua/5.1/lanes/core.so':
/home/hinrik/.luarocks/lib/lua/5.1/lanes/core.so: undefined symbol: pthread_mutexattr_settype
stack traceback:
[C]: ?
[C]: in function 'require'
/home/hinrik/.luarocks/share/lua/5.1/lanes.lua:58: in function 'configure'
lan-test.lua:1: in main chunk
[C]: ?
With version 3.1.5, the build type was changed from "make" to "builtin". This causes LuaRocks to ignore the Makefile in the distribution, and consequently fail to use necessary flags such as -lpthread on Linux. lanes-3.1.4.rockspec (see 37b0d64) is the last one to build correctly (though luarocks does complain about the missing revision at the end of its version number).
Recent versions (latest git included) give this error when trying to
require "lanes":With version 3.1.5, the build type was changed from
"make"to"builtin". This causes LuaRocks to ignore the Makefile in the distribution, and consequently fail to use necessary flags such as-lpthreadon Linux.lanes-3.1.4.rockspec(see 37b0d64) is the last one to build correctly (though luarocks does complain about the missing revision at the end of its version number).Note the lack of -lpthread:
The text was updated successfully, but these errors were encountered: