Wireshark-bugs: [Wireshark-bugs] [Bug 6011] New: Upgrading to 1.6.0 can lead to a library mismat
Date: Thu, 9 Jun 2011 03:27:49 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6011

           Summary: Upgrading to 1.6.0 can lead to a library mismatch.
           Product: Wireshark
           Version: 1.6.0
          Platform: x86
        OS/Version: Fedora
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Build Information:
TShark 1.6.0 (SVN Rev Unknown from unknown)

Copyright 1998-2011 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GLib 2.10.2, with libpcap 0.9.1, with libz 1.2.2.2, with
POSIX capabilities (Linux), with libpcre (version unknown), without SMI,
without
c-ares, without ADNS, without Lua, without Python, with GnuTLS 1.2.10, with
Gcrypt 1.2.2, with MIT Kerberos, without GeoIP.

Running on Linux 2.6.28, with libpcap version 0.9.1, with libz 1.2.2.2.

Built using gcc 3.3.3 20040412 (Red Hat Linux 3.3.3-7).

[BUT ... that is this system ... the problem also is on another system]
--
VERSION 1.6.0 (libwiretap.so.0 -> libwiretap.so.1 and also libwsutil)

Apparently this sets the system directories before the packages directory
and will configure for libwiretap.so.0 and libwsutil.so.0 instead of the
new libwiretap.so.1 and libwsutil.so.1 if you build from source or use
the spec file and 'rpmbuild -bb'. Remove the old stuff (rpm -e wireshark)
(which should include the old files) and then configure/build/install.

For example ... if one builds wireshark-1.6.0 using rpmbuild and the spec
file it includes, it will build new libraries and during the install
process install them BUT will use the current (so.0 instead of so.1)
libraries and when you update (rpm -Uvh [new_rpm]) the old libraries
will be ripped out, the new ones installed and the new wireshark will want
the old libraries.

If you are building and installing new libraries, make *sure* your build
uses the new libraries rather than old libraries which will be *ripped out*
during installation.

WORK AROUND:
------------
Uninstall the old version before building/installing the new.
This is easy with RPMs (rpm -e) but ... if you build/install/upgrade
from source you will either need the compiled old source tree
(if 'make' supports a full 'unistall') or know where all the old files
are.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.