From w.northcott at unsw.edu.au  Mon May  2 22:51:07 2005
From: w.northcott at unsw.edu.au (Bill Northcott)
Date: Mon May  2 22:51:28 2005
Subject: [Rd] MacOS X 10.4 build problem
In-Reply-To: <92898BB7-A6C8-4C8F-B0BD-598E5008F3AB@r-project.org>
References: <200505021004.j42A4ihR001699@hypatia.math.ethz.ch>
	<44470350-F1BB-4CE4-B123-7268F51D335B@unsw.edu.au>
	<92898BB7-A6C8-4C8F-B0BD-598E5008F3AB@r-project.org>
Message-ID: <77AF4C3D-7642-4388-B856-8978F1F7FE6B@unsw.edu.au>

On 02/05/2005, at 10:50 PM, Simon Urbanek wrote:

> It's a problem in your library setup. Your /usr/local/lib/ 
> libJPEG.dylib conflicts with the system libJPEG.dylib from ImageIO  
> framework (which is in /System/Library/Frameworks/ 
> ApplicationServices.framework/Versions/A/Frameworks/ 
> ImageIO.framework/Versions/A/Resources/libJPEG.dylib). Since R  
> forces the load of the one in /usr/local/lib first (as you  
> configured it), it is loaded instead of the one in ImageIO  
> framework, but it doesn't contain the same symbols, thus the load  
> fails. You should remove /usr/local/libJPEG.dylib and use static  
> version or ImageIO instead.
>
Removing the symlink did the trick.  I notice that all the libraries  
in the ImageIO framework have capitalisation.  I guess this stops  
them being linked by accidentally by GNU style builds but not vice  
versa.

I now have a working R 2.1 built on Tiger with gcc-4.0/gfortran.

Bill


[Rd] MacOS X 10.4 build problem
Bill Northcott