lua-users home
lua-l archive

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

On 19 January 2011 10:53, Dirk Laurie <> wrote:
> On Wed, Jan 19, 2011 at 08:48:22AM +0200, Alexander Gladysh wrote:
>> You have Lua 5.0 installed, and no Lua 5.1. Remove Lua 5.0 and install
>> 5.1 instead. (Ubuntu packaging for Lua and modules is somewhat weird
>> sometimes.)
> Many modules, e.g lpeg, go into /usr/lib but the lua executable
> looks in /usr/local/lib, for example.

You mean in Ubuntu/Debian? That's certainly not true. Most likely you
installed Lua manually from source, its default prefix is (correctly)
/usr/local. The Debian/Ubuntu packages however definitely (correctly)
install into /usr.