You will almost certainly need to 1. remove the old dissector from anywhere it might be and 2. install the new one. Here's I did in Mininet's install.sh script for Ubuntu to install the new one (YMMV since this is taken out of context, but the basic procedure should be the same):
function wireshark { echo "Installing Wireshark dissector..." sudo apt-get install -y wireshark libgtk2.0-dev if [ "$DIST" = "Ubuntu" ] && [ "$RELEASE" != "10.04" ]; then # Install newer version sudo apt-get install -y scons mercurial libglib2.0-dev sudo apt-get install -y libwiretap-dev libwireshark-dev cd ~ hg clone https://bitbucket.org/onlab/of-dissector cd of-dissector/src export WIRESHARK=/usr/include/wireshark scons # libwireshark0/ on 11.04; libwireshark1/ on later WSDIR=`ls -d /usr/lib/wireshark/libwireshark* | head -1` WSPLUGDIR=$WSDIR/plugins/ sudo cp openflow.so $WSPLUGDIR echo "Copied openflow plugin to $WSPLUGDIR" else # Install older version from reference source cd ~/openflow/utilities/wireshark_dissectors/openflow make sudo make install fi # Copy coloring rules: OF is white-on-blue: mkdir -p ~/.wireshark cp ~/mininet/util/colorfilters ~/.wireshark } https://github.com/mininet/mininet/blob/master/util/install.sh On Apr 30, 2012, at 2:17 PM, Heming Wen wrote: > Hi Ryan and Rob, > > I have the same problem regarding the Wireshark dissector. At first, I have > the same problem as Ryan regarding a message "'of' is neither a field nor a > protocol name." It turned out I installed under root. However, when I tried > re-installing it as regular user, I get the message: "undefined symbol: > dissector_add". This time, according to an older thread, it was because I was > using the tar file instead of pulling directly from the git repository. From > the other post, it seems that a dissector modified for a more recent version > of wireshark is in the git version of openflow. > > However, now I have trouble "uninstalling" the old dissector. I am not sure > how to remove the plugin dissector. I deleted the plugin and re-installed > wireshark. However, even with the new "packet_openflow.so", I still get the > error: "undefined symbol: dissector_add". On top of that, no matter what user > I am using, the package is always installed under /var/ instead of > /user/.wireshark/plugins. I can't seem to find how to manually install it to > the correct path. > > How do we remove the dissector plugin? I think the old dissector is still > interfering with the current installation I have. In addition, how do we > manually define the installation path? We don't need to recompile Wireshark? > > Thank you, > > Heming > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss