[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaBitOp: Cant require "bit=>./bit.so: undefined symbol: luaopen_bit
- From: Bezobiuk Volodymyr <dedoogun@...>
- Date: Fri, 30 Nov 2012 10:32:38 +0200
Hi,
at first, check if the environment are read by the interpreter, by adding this debug output before 'require "bit"':
print("LUA_PATH =", os.getenv"LUA_PATH")
print("LUA_CPATH =", os.getenv"LUA_CPATH")
is it does print nils or either print some values other than you expected investigate why environment are broken
also, check package.path variable - it should be the same as your LUA_PATH env var
Sincerely,
Volodymyr