Wireshark-dev: Re: [Wireshark-dev] RPM and inter-plugin dependencies
From: Austin Albright <chuckbubba777@xxxxxxxxxxx>
Date: Fri, 30 Nov 2012 13:19:46 -0500
-- Alex --
It has only one library dependency, that isn't a fundamental part of Wireshark... sort of... which is the wimax plugin library (wimax.so) When I run ldd on the customPlugin.so on my development system and then on the version installed via RPM on the production system the results are identical. -- Japp -- It is a detailed error message that tells the exact function it can't seem to find. Which is what leads me to think it can't see\access the wimax.so plugin library. The error message is: Couldn't load module /usr/lib/wireshark/plugins/1.6.9pre1_42613/customPlugin.so: /usr/lib/wireshark/plugins/1.6.9pre1_42613/customPlugin.so: undefined symbol: get_tlv_value_offset Where get_tlv_value_offset only exist in the wimax plugin (wimax_tlv.c\h). For some reason, when I began creating this plugin I thought 1.6.8/9 was the last release of the 1.6 trunk. I never even thought to check for updates until I checked the mailing list to see if my message went through and there was announcement about the latest release/updates to the 1.6 trunk. -- New thought\question -- Should I add something akin to a target_link_libraries in the CMakeList.txt pointing to the wimax plugin's library? But then I wonder how it ever compiled if it need that to be specified in the CMakeList file?The problem seems related to the RPM compilation\build process. But since everything is re-built to create the RPM and I receive no warnings about an undefined function during the RPM's compilation stage... Thank you Alex and Japp for your suggestions. Austin From: jaap.keuter@xxxxxxxxx Date: Fri, 30 Nov 2012 21:44:53 +0400 To: wireshark-dev@xxxxxxxxxxxxx Subject: Re: [Wireshark-dev] RPM and inter-plugin dependenciesï؟½ Hi Austin, Forget about the #include. That's for the compiler to know which file to include in the compilation. This has nothing to do with the object code you're distributing. You state that there's a detailed error message, but you never quote it. What does it tell you? trunk-1.6 SVN head now is version 1.6.12 now (rolled over to 1.6.13 already) Thanks, Jaap Send from my iPhone
___________________________________________________________________________ Sent via: Wireshark-dev mailing list Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe |
- Follow-Ups:
- Re: [Wireshark-dev] RPM and inter-plugin dependencies
- From: Evan Huus
- Re: [Wireshark-dev] RPM and inter-plugin dependencies
- References:
- [Wireshark-dev] RPM and inter-plugin dependencies
- From: Austin Albright
- Re: [Wireshark-dev] RPM and inter-plugin dependencies
- From: Jaap Keuter
- [Wireshark-dev] RPM and inter-plugin dependencies
- Prev by Date: Re: [Wireshark-dev] RPM and inter-plugin dependencies
- Next by Date: Re: [Wireshark-dev] RPM and inter-plugin dependencies
- Previous by thread: Re: [Wireshark-dev] RPM and inter-plugin dependencies
- Next by thread: Re: [Wireshark-dev] RPM and inter-plugin dependencies
- Index(es):