lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I believe it is a bug in the rockpec that forgets to tell the build subsystem to link against pthread. See issue #38.

2012/11/20 "Гришин В.С." <Vladislav.Grishin@vts24.ru>
Hi, I installed on my system with CentOS5.8 lua,luarocks

http://www.lua.org/ftp/lua-5.1.5.tar.gz
http://luarocks.org/releases/luarocks-2.0.12.tar.gz


By luarocks I installed lanes 3.1.6-1

without any errors !!!

But I run from lua console a following commands (from example Lua Lanes) and get error

[root@storage2 src]# lua
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
local lanes = require "lanes".configure()
error loading module 'lanes.core' from file '/usr/local/lib/lua/5.1/lanes/core.so':
        /usr/local/lib/lua/5.1/lanes/core.so: undefined symbol: pthread_mutexattr_settype
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/local/share/lua/5.1/lanes.lua:58: in function 'configure'
        stdin:1: in main chunk
        [C]: ?
local lanes = require "lanes"
lanes.configure()
stdin:1: attempt to index global 'lanes' (a nil value)
stack traceback:
        stdin:1: in main chunk
        [C]: ?


what did I make not correctly?


Please help.



Vladislav








--
Benoit.