Wireshark-dev: [Wireshark-dev] OS X libjpeg conflict - not a wireshark problem?
From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sun, 24 Sep 2006 15:18:19 -0700
There is a problem on OS X between the system's jpeg library and one 
installed by DarwinPorts in /opt when running Wireshark from the build 
directory.  I wanted to confirm that this is not a Wireshark problem we 
can fix before I add it to the FAQ...

To fix, I change the "wireshark" script from:

   # Add our own library path to DYLD_LIBRARY_PATH
   DYLD_LIBRARY_PATH="$thisdir/wiretap/.libs:$thisdir/epan/.libs: \
    /opt/local/lib:$DYLD_LIBRARY_PATH"

To:

   # Add our own library path to DYLD_LIBRARY_PATH
   DYLD_LIBRARY_PATH="$thisdir/wiretap/.libs:$thisdir/epan/.libs: \
    $DYLD_LIBRARY_PATH"
   DYLD_FALLBACK_LIBRARY_PATH="/opt/local/lib"


Steve