Wireshark-bugs: [Wireshark-bugs] [Bug 5292] New: Wireshark Libraries on MacOSX are not properly

Date: Tue, 12 Oct 2010 11:18:37 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5292

           Summary: Wireshark Libraries on MacOSX are not properly linked
           Product: Wireshark
           Version: 1.4.0
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: armenb@xxxxxxx


Build Information:
TShark 1.4.0 (SVN Rev 34005 from /trunk-1.4)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 (64-bit) with GLib 2.24.1, with libpcap 1.0.0, with libz 1.2.3,
without
POSIX capabilities, without libpcre, without SMI, without c-ares, without ADNS,
with Lua 5.1, without Python, without GnuTLS, without Gcrypt, with MIT
Kerberos,
without GeoIP.

Running on Darwin 10.4.0 (Mac OS 10.6.4), with libpcap version 1.0.0, with libz
1.2.3.

Built using gcc 4.2.1 (Apple Inc. build 5659).

--
Hello,

Wireshark's Libraries on MacOSX are incorrectly installed.  This can be seen by
looking at the output of:

otool -L /Applications/Wireshark.app/Contents/Resources/lib/libwireshark.dylib

In the above output, the second line is /usr/local/lib/libwireshark.dylib,
which is clearly not correct: the /usr/local/lib directory is non-existant! 
this problem exists with every library in that directory (so this problem
includes libwiretap, libwsutil, libglib-2.0, libgmodule-2.0, and libintl).

Additionally, all local libraries are also incorrectly named and referenced
from the bogus /usr/local/lib directory.

I think this should be fixed in the Wireshark MacOSX dmg-creation mechanism. 
While it is not a problem operationally (because Wireshark uses dlopen() to
open these libraries, circumventing MacOSX's libtool mechanism), it becomes a
problem when developing for Wireshark: a developer has to manually update each
library's  library table to have correct entries.

Please let me know if you have any questions.  Thanks!

Armen

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