Wireshark-dev: [Wireshark-dev] Problems compiling wireshark 2.0.5 on Amazon Linux AMI
From: Zach Moshe <[email protected]>
Date: Wed, 31 Aug 2016 13:06:05 +0000
Hi all,
I'm trying to compile wireshark 2.0.5 from sources on an Amazon Linux machine (AMI release 2015.03).
I run configure with --disable-wireshark as I only need tshark.

After installing all requirements, compilation goes fine, but I get this on linking stage: 

Making all in .
make[2]: Entering directory `/home/ec2-user/wireshark-2.0.5'
  CCLD     tshark
/usr/bin/ld: ui/cli/libcliui.a(libcliui_a-tap-comparestat.o): undefined reference to symbol '[email protected]@GLIBC_2.2.5'
/usr/bin/ld: note: '[email protected]@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [tshark] Error 1
make[2]: Leaving directory `/home/ec2-user/wireshark-2.0.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/wireshark-2.0.5'
make: *** [all] Error 2

config.log is attached.

Can anyone help? All those ldd, compiling and linking stuff are not really my cup of tea and I'm kind of clueless here...

Best,
Zach

Attachment: config.log
Description: Binary data