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

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%


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).

permanent link

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 ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×431
×154

question asked: 31 Dec '13, 23:30

question was seen: 5,408 times

last updated: 01 Jan '14, 15:32

p​o​w​e​r​e​d by O​S​Q​A