Wireshark-bugs: [Wireshark-bugs] [Bug 3118] New: Wireshark 1.0.5 won't start up.

Date: Sat, 13 Dec 2008 06:53:54 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3118

           Summary: Wireshark 1.0.5 won't start up.
           Product: Wireshark
           Version: 1.0.5
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: p.de.haan2@xxxxxxxxx
                CC: p.de.haan2@xxxxxxxxx


Build Information:
Pauls-MBP:~ pdehaan$
/Applications/Wireshark.app/Contents/Resources/bin/wireshark -v
2008-12-13 15:18:53.072 defaults[333:10b] 
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor)
does not exist
dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: Incompatible library version: wireshark-bin requires version 27.0.0
or later, but libpng12.0.dylib provides version 25.0.0
Trace/BPT trap

--
Dear developers,
Changing from a PowerBook 17" with Leopard to a Macbook Pro some 10 days ago, i
couldn't get a fresh install of wireshark running on my MacOS X 10.5.5 install.
Getting the latest version of the Developer tools ofcourse didn't help.

At first I got pestered by the report that:
Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: Incompatible library version: wireshark-bin requires version 3.0.0 or
later, but libfontconfig.1.dylib provides version 1.0.0

There does exist a bug report with a similar problem on tiger (2679)

Knowing that 
Pauls-MBP:~ pdh$ ls -alh /usr/X11/lib/libfontconfig.1*
-rwxr-xr-x  1 root  wheel   1,0M  5 dec  2007
/usr/X11/lib/libfontconfig.1.1.0.dylib
-rwxr-xr-x  1 root  wheel   1,0M  1 aug 03:00
/usr/X11/lib/libfontconfig.1.3.0.dylib
lrwxr-xr-x  1 root  wheel    25B  2 dec 16:28
/usr/X11/lib/libfontconfig.1.dylib -> libfontconfig.1.1.0.dylib

I thought to play smartass and 
Pauls-MBP:~ pdh$ sudo ln -i /usr/X11/lib/libfontconfig.1.3.0.dylib
/usr/X11/lib/libfontconfig.1.dylib
replace /usr/X11/lib/libfontconfig.1.dylib? y

only to get into the next error:
  Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: Incompatible library version: wireshark-bin requires version 27.0.0
or later, but libpng12.0.dylib provides version 25.0.0

With 
Pauls-MBP:~ pdh$ ls -alh /usr/X11/lib/libpng*
lrwxr-xr-x  1 root  wheel    14B  2 dec 16:28 /usr/X11/lib/libpng.3.24.0.dylib
-> libpng.3.dylib
lrwxr-xr-x  1 root  wheel    14B  1 dec 20:21 /usr/X11/lib/libpng.3.26.0.dylib
-> libpng.3.dylib
-rwxr-xr-x  1 root  wheel   668K  5 mrt  2008 /usr/X11/lib/libpng.3.dylib
lrwxr-xr-x  1 root  wheel    14B  2 dec 16:28 /usr/X11/lib/libpng.dylib ->
libpng12.dylib
-rwxr-xr-x  1 root  wheel   819B  9 sep  2007 /usr/X11/lib/libpng.la
lrwxr-xr-x  1 root  wheel    16B  2 dec 16:28
/usr/X11/lib/libpng12.0.24.0.dylib -> libpng12.0.dylib
lrwxr-xr-x  1 root  wheel    16B  1 dec 20:21
/usr/X11/lib/libpng12.0.26.0.dylib -> libpng12.0.dylib
-rwxr-xr-x  1 root  wheel   668K  5 mrt  2008 /usr/X11/lib/libpng12.0.dylib
lrwxr-xr-x  1 root  wheel    16B  2 dec 16:28 /usr/X11/lib/libpng12.dylib ->
libpng12.0.dylib
-rwxr-xr-x  1 root  wheel   831B  9 sep  2007 /usr/X11/lib/libpng12.la

Hacking once agian,

 Pauls-MBP:~ pdh$ sudo cp
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.0.26.0.dylib /usr/X11/lib/
Password:
Pauls-MBP:~ pdh$ sudo ln /usr/X11/lib/libpng12.0.26.0.dylib libpng12.0.dylib

Thing go from bad to worse:

  Library not loaded: /usr/X11/lib/libpng12.0.dylib
  Referenced from:
/Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin
  Reason: Incompatible library version: wireshark-bin requires version 27.0.0
or later, but libpng12.0.dylib provides version 17.0.0

Could it be that the Wireshark application for MacOS X would have to be
compiled using different dependencies to simply go to work?


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