lua-users home
lua-l archive

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

On Wed, Nov 2, 2011 at 11:36 AM, Benoit Germain <> wrote:
> 2011/11/2 Thijs Koerselman <>
>> Trying to use LuaLanes on a the new Ubuntu with kernel 3.0 I'm getting the
>> following error on both 32 and 64bit systems.
>> undefined symbol: pthread_mutexattr_settype
>> Here are the libraries that are linked to:
>>  ldd sandbox/lib/lua/5.1//
>> =>  (0x00007fff6e34d000)
>> => /lib/x86_64-linux-gnu/ (0x00007f9394d0d000)
>> /lib64/ (0x00007f93952df000)
>> Any ideas how to fix this? I installed lualanes using luarocks.
>> Thijs
> Unfortunately, none at all. This looks like a pre-built rock that depends on
> something that changed in the pthread library. The only rockspecs I provide
> build Lanes from sources. I suppose that would get you a build error
> instead. But since I have no Ubuntu handy, all this is wild speculation...

Yes, the official LuaRocks repositories contain only source rocks (not
binary rocks) for Linux.

I don't know how things work in the recent Ubuntu, but in my system I
just built Lanes with LuaRocks and I have listed in
the output of `ldd` (and I did spot "-lpthread" in the
gcc command during compilation).

You may want to try to `luarocks remove lanes` and then `luarocks
build lanes` again and see if you notice anything strange.

-- Hisham -