[R-SIG-Mac] Problem updating packages in R 2.1.0
Rob J Goedman
goedman at mac.com
Sat May 7 19:42:58 CEST 2005
Again, this is a consequence of picking up outdated libraries.
Stefano, Simon and I ran into this one (libintl) about a month ago.
libintl got introduced earlier on (with gettext) but is no longer
For others on this mailing list, I would like to emphasize once more
that to build R and R.app on Tiger, with Xcode and X11 installed,
nothing is needed from either /usr/local or /sw **except ** gfortran as
indicated in the 1st item on the Wiki ( http://wiki.urbanek.info/
The only 2 other installs in /usr/local I've done are svn (to work on
and graphviz (2.2.1 in my case, for Rgraphviz).
To install/update source packages, make the changes outlined in the
2nd item on the TigeR Wiki.
*If* you can live with such a clean version of /usr/local, building R
R.app on Tiger is a breeze.
On May 7, 2005, at 2:02 AM, Michael.Martin at anu.edu.au wrote:
> I have managed to compile R 2.1.0 on Tiger (with much thanks to all
> on this list and Simon's Wiki), and so now I have a working R. My
> initial problem at compile was the libjpeg/libpng/libtiff problem
> described on the Wiki, and even applying the versioning fix listed
> there didn't help. In the end, the fix that allowed a successful
> compile was to explicitly include -L/System/.../ImageIO/Resources
> as the first LDFLAG (removing things from /usr/local/lib and /sw/lib
> broke other things, like pdftex - and, yes, it would be better to
> clean up entirely, but compiling R has turned into the job of the
> week). Now, when I update packages from source I get another problem;
> e.g. updating foreign and then trying to load the library gave this
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library '/Library/Frameworks/
> so, 6): Symbol not found: _libintl_dgettext
> Referenced from: /Library/Frameworks/R.framework/Resources/
> Expected in: flat namespace
> Error: .onLoad failed in 'loadNamespace' for 'foreign'
> Error: package/namespace load failed for 'foreign'
> Sad to say I am at a loss to understand what the problem is (except
> R can't find the referenced symbol in the .so file and I suppose
> know where else to look). Any ideas/fixes would be very much
> Michael Martin
> School of Finance and Applied Statistics
> Australian National University
> michael.martin at anu.edu.au
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
More information about the R-SIG-Mac