lua-users home
lua-l archive

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


Hello there,

can please someone enlighten me how should I use Lua libraries in existing Ubuntu 8.04 packages? I have unmodified Lua 5.1.1 and "bit" Lua library installed from Ubuntu packages and yet...

Lua 5.1.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
> require("bit")
stdin:1: module 'bit' not found:
    no field package.preload['bit']
    no file './bit.so'
    no file '/usr/local/lib/lua/5.1/bit.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: ?

--
Frantisek Fuka
(yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")

Jabber/GoogleTalk ID: fuka@fuxoft.cz
Homepage: http://www.fuxoft.cz