gimp2 on leopard

Ryan Schmidt ryandesign at
Sun Aug 17 15:50:00 PDT 2008

On Aug 17, 2008, at 17:42, Arden wrote:

> I have just started to use Macports on Leopard 10.5.4 (Intel),
> downloaded and installed the latest stable version, my aim is to use
> the GREYCstoration plugin for Gimp2. So lots of dependencies starting
> from scratch. Here is the error I get while it is building glib2:
> ld: in /usr/local/lib/libJPEG.dylib, file is not of required
> architecture
> collect2: ld returned 1 exit status
> make[2]: *** [] Error 1
> make[1]: *** [all-recursive] Error 1
> Macports installs the GREYCstoration plugin on Tiger (PPC) fine
> without error but on my MacBook it seems to have a lot more
> difficulty. Is this common for Leopard? how do I fix?
> thanks, Arden

You have an old (PowerPC) version of libjpeg in /usr/local/lib.  
Remove it, clean the affected port (sudo port clean --work glib2),  
then try again.

Stuff in /usr/local/lib often interferes with things MacPorts wants  
to install. I recommend you remove everything in /usr/local/lib.

More information about the macports-users mailing list