This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to install wireshark in linux to support lua?

0

Hi All,

I want to use wireshark in linux to parse self-define protocol. So I write a lua plugin. Bug I am not sure if wireshark in linux can support lua.

I download wireshark-1.5.0.tar.bz2,

tar -xvjf wireshark-1.5.0.tar.bz2
cd wireshark-1.5.0
./configure
but i got following message:
Install dumpcap with capabilities : no
Install dumpcap setuid : no
Use dumpcap group : (none)
Use plugins : yes
Use lua library : no
It can't support lua?I install lua and lua-devel.
cd lua-5.2.0
make linux
make install
yum install lua-devel

So I configure wireshark as following:
./configure --with-lua=/usr/local/etc
I got following errors:
checking for luaL_register in -llua... no
checking for luaL_register in -llua5.1... no
configure: error: Linking with liblua failed.

Could you please tell me how to install wireshark in linux? My linux release is Fedora 13.

Thank you very much.

Rong

asked 31 Dec '13, 23:30

Rong's gravatar image

Rong
1111
accept rate: 0%


One Answer:

0

I install lua and lua-devel.

cd lua-5.2.0
make linux
make install
yum install lua-devel

So why did you install Lua "by hand" and install the Lua development package with "yum install"? Try either using "yum install" to install Lua, or doing whatever is necessary in the lua-5.2.0 directory to install the development stuff (header files and libraries).

answered 01 Jan '14, 12:38

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

edited 01 Jan '14, 12:38

Isn't Fedora 13 and Wireshark 1.5 somewhat old? In the case of Wireshark 1.5 that's a development release anyway so maybe not the best version to be working with.

(01 Jan '14, 15:32) grahamb ♦