port install wireshark fails

Ryan Schmidt ryandesign at macports.org
Fri Mar 6 01:04:57 PST 2015


On Mar 5, 2015, at 11:29 AM, tome at QX.Net wrote:

> Powerbook PPC (pismo) 500Mhz, 10.4.11, 1G ram, 11G disk available
> I did the 'sudo port clean wireshark' and retried, with same error.
> A search revealed a reference to a patch:
> https://trac.macports.org/attachment/ticket/41843/0001-gnome-gstreamer010-add-dependency-on-gobject-introsp.patch
> which seems like it might be relevant, but I am not familiar enough with
> how all this fits together to know what to do next.  It seems like a patch
> that old would have been included in the build.

Indeed, that ticket has been resolved 15 months ago, and I don't think it's at all related to what you're experiencing.

> Below are the last few
> lines of the install starting at what I think is the failing error.  Any
> guidance as to what to do next will be greatly appreciated!  Tom
> 
> ImportError: dlopen(./.libs/_giscanner.so, 2): Library not loaded:
> /opt/local/lib/libffi.6.dylib
>  Referenced from: /opt/local/lib/libgio-2.0.0.dylib
>  Reason: no suitable image found.  Did find:
> 	/opt/local/lib/libffi.6.dylib: incompatible cpu-subtype

This is probably a PowerPC G3-specific issue. I'll bet something got inadvertently compiled for PowerPC G4, which is not compatible with your G3. What is the CPU subtype of /opt/local/lib/libffi.6.dylib and /opt/local/lib/libgio-2.0.0.dylib? Running the following command might tell us:

lipo -info /opt/local/lib/libffi.6.dylib /opt/local/lib/libgio-2.0.0.dylib



More information about the macports-users mailing list