Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5937] New: Could the support libraries be built against th

Date: Fri, 20 May 2011 01:31:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5937

           Summary: Could the support libraries be built against the
                    appropriate SDK?
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: guy@xxxxxxxxxxxx


Build Information:
N/A
--
If, on the OS X buildbots, the support libraries were built against the SDK for
the target OS, rather than against the libraries on the buildbot, we might have
fewer "Wireshark won't start" errors when people run on older versions of the
OS or on versions of the OS on which they've installed various Xquartz builds.

I tried configuring Pango with

    CFLAGS="-I/Developer/SDKs/MacOSX10.6.sdk/usr/includes"
LDFLAGS="-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib" ./configure

on my 10.6 machine; the resulting libpango, when I ran "otool -L" against them,
had

$ otool -L /usr/local/lib/libpango*.dylib | egrep freet
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 10.0.0, current
version 10.17.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 10.0.0, current
version 10.17.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 10.0.0, current
version 10.17.0)

and the resulting libgtk+ had

$ otool -L /usr/local/lib/libgtk*.dylib | egrep freet
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)
    /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current
version 13.0.0)

but I'm not sure why some expect 10.0.0 and others expect 13.0.0.

It might be worth trying that to see whether we can build a version that
doesn't fall apart when run on a system not like the system on which it's
built.

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