Wireshark mailing list archives
Re: build wireshrk with lua5.2.4 source code :no luaL_openlibs
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Sat, 2 Dec 2017 17:50:21 -0500
On 11/19/2017 01:39 AM, 愛伱Dě儍苽 wrote: [...]
When I building wireshrk source code use –with-lua it show me the error message :checking for library containing luaL_openlibs... no configure: error: Lua support was requested, but is not available but I find the luaL_openlibs function in lualib.h /* open all previous libraries */ LUALIB_API void (luaL_openlibs) (lua_State *L);And I use yum install lua-devel to fix these problem.but I want to know why I can not build wireshark with lua source code.
I see the same thing here; I get this at the end of config.log:
usr/local/lib/liblua.a(loadlib.o): In function `ll_loadfunc': loadlib.c:(.text+0x742): undefined reference to `dlsym' loadlib.c:(.text+0x789): undefined reference to `dlerror' loadlib.c:(.text+0x7b6): undefined reference to `dlopen' loadlib.c:(.text+0x82c): undefined reference to `dlerror' /usr/local/lib/liblua.a(loadlib.o): In function `gctm': loadlib.c:(.text+0x9c0): undefined reference to `dlclose' collect2: error: ld returned 1 exit status
liblua depends on libdl but it seems Wireshark's LDFLAGS no longer contains libdl (or something like that).
This change fixes it for me: https://www.wireshark.org/lists/wireshark-dev/201711/msg00102.html ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: build wireshrk with lua5.2.4 source code :no luaL_openlibs Jeff Morriss (Dec 02)
- Re: build wireshrk with lua5.2.4 source code :no luaL_openlibs Jeff Morriss (Dec 02)