|
I tried to compile Wireshark 1.6.8 with Lua and libsmi in RHEL with the below commands, but I'm seeing errors:
I also recompiled Lua and tried again, but no luck...same error. |
Regards Hello, Thanks for your help. Yes it's called '/home/OPENSOURCE/LUA/5.1/Linux/RHEL4_2.6/lib/liblua.a' and size of it is "326764" bytes Also output of
Regadrs Mevalal
(20 Jun '12, 02:42)
Mevalal
|
|
This is probably the issue you're seeing: libtool: link: gcc -shared -fPIC -DPIC .libs/libwireshark_la-addr_and_mask.o .libs/libwireshark_la-addr_resolv.o [...] -pthread -Wl,-soname -Wl,libwireshark.so.0 -Wl,-version-script -Wl,.libs/libwireshark.ver -o .libs/libwireshark.so.0.0.0 /usr/bin/ld: /home/tony/src/lua-5.1.5/src/build/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC /home/tony/src/lua-5.1.5/src/build/lib/liblua.a: could not read symbols: Bad value [...] make: *** [install] Error 2 The error message was actually quite helpful. It was telling you to recompile
You now should be able to finish the linker process in the Wireshark build. It's easier to use the RHEL package manager.Before I even tried the above, I played around with installing a Wireshark dev environment on CentOS (a derivative of RHEL). It's simple and painless. I didn't need to build
Note that the package manager only has Lua 5.1.4 available. If you need any other version (such as 5.1.5), you'll have to build from source as you were doing earlier. Thanks for your Help I have recompile LUA - with your provided option, LIBSMI and wireshark. Now it's working fine.
(21 Jun '12, 04:17)
Mevalal
|
