Wireshark-bugs: [Wireshark-bugs] [Bug 8619] Cmake build fails to like against lua as of #49103
Jörg Mayer
changed
bug 8619
What |
Removed |
Added |
Status |
UNCONFIRMED
|
CONFIRMED
|
Ever confirmed |
|
1
|
Comment # 2
on bug 8619
from Jörg Mayer
The core here seems to be:
//Path to a file.
LUA_INCLUDE_DIR:PATH=/usr/include
//Lua Libraries
LUA_LIBRARIES:STRING=/usr/lib64/liblua5.1.so
//Path to a library.
LUA_LIBRARY:FILEPATH=/usr/lib64/liblua5.1.so
==> The system links against lua 5.1
and
lib/libwireshark.so.0.0.0: undefined reference to `lua_callk'
lib/libwireshark.so.0.0.0: undefined reference to `lua_setglobal'
lib/libwireshark.so.0.0.0: undefined reference to `lua_pcallk'
lib/libwireshark.so.0.0.0: undefined reference to `luaL_loadfilex'
lib/libwireshark.so.0.0.0: undefined reference to `lua_tonumberx'
lib/libwireshark.so.0.0.0: undefined reference to `luaL_setfuncs'
lib/libwireshark.so.0.0.0: undefined reference to `lua_getglobal'
==> lua 5.2 functions.
This seems to indicate that you are using lua5.2 includes but the system links
against lua5.1 libaries (as found by cmake).
I will take a look at this.
Can you please check whether there are also libs on your system named
/usr/lib64/liblua5.2.so?
If so, we might be able to fix the problem at least for your distro, otherwise
the only "working" solution would be to uninstall the undesirable library
version every time before running cmake
You are receiving this mail because:
- You are watching all bug changes.