[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaBitOp: Cant require "bit=>./bit.so: undefined symbol: luaopen_bit
- From: meino.cramer@...
- Date: Fri, 30 Nov 2012 04:53:54 +0100
Hi,
I am trying to get LuaBitOp to work.
On a GENTOO Linux system (AMD64), which is updated and maintained on a
daily base, I did a
make
and
make install
, which works fine and installs bit.so into
/usr/local/lib64/lua/5.1/bit.so
.
In the enviroment this is defined:
LUA_PATH=/usr/lib64/lua/luarocks/share/lua/5.1//?.lua;/usr/lib64/lua/luarocks/share/lua/5.1//?/init.lua;/usr/share/lua/5.1//?.lua;/usr/share/lua/5.1//?/init.lua;/usr/lib64/lua/luarocks/share/lua/5.1/?.lua;/usr/lib64/lua/luarocks/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;./?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua
LUA_CPATH=/usr/lib64/lua/luarocks/lib/lua/5.1//?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so
s
A script containing 'require "bit"' leads to this:
lua: error loading module 'bit' from file './bit.so':
./bit.so: undefined symbol: luaopen_bit
stack traceback:
[C]: ?
[C]: in function 'require'
bittest.lua:3: in main chunk
[C]: ?
make: *** [test] Error 1
What did I wrong? How can I fix this?
Thank you very much in advance for any help!
Best regards,
mcc