The build is dying thus:
building package 'graphics'
mkdir ../../../library/graphics
mkdir ../../../library/graphics/R
mkdir ../../../library/graphics/demo
mkdir ../../../library/graphics/po
mkdir ../../../library/graphics/man
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Users/billn/Public/R/R-2.1.0/ build/library/grDevices/libs/grDevices.so':
dlopen(/Users/billn/Public/R/R-2.1.0/build/library/grDevices/libs/ grDevices.so, 6): Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
I don't really understand the error message.
grDevices.so exists:
[PBG4-BN:~] billn% otool -L /Users/billn/Public/R/R-2.1.0/build/ library/grDevices/libs/grDevices.so
/Users/billn/Public/R/R-2.1.0/build/library/grDevices/libs/grDevices.so:
/System/Library/Frameworks/AppKit.framework/Versions/C/ AppKit (compatibility version 45.0.0, current version 824.0.0)
libR.dylib (compatibility version 2.1.0, current version 2.1.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)
but the reference to /usr/local/lib/libJPEG.dylib baffles me. The library that is installed is called libjpeg.62.0.0.dylib and symlinked as libjpeg.62.dylib and libjpeg.dylib.
Presumably __cg_jpeg_resync_to_restart is a symbol defined in CoreGraphics, but why is it looking in the non-existent libJPEG ???
Bill Northcott
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel