[R-SIG-Mac] problems with X11 in R 2.11.0

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon May 3 07:19:02 CEST 2010


Something is wrong with your system software.  On my Leopard box:

tystie% otool -L 
/Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so
...
 	/usr/X11/lib/libpng12.0.dylib (compatibility version 42.0.0, 
current version 42.0.0)

So your /usr/X11/lib/libpng12.0.dylib is different from mine (and from 
the CRAN build machine's).

Your choices are

- to resolve this (and it is not an R issue). I'd start by running the 
software updater ....

- to build R from the sources against the software on your machine.

On Sun, 2 May 2010, steven mosher wrote:

> I had the same Issue with 2.10.1. never got it resolved. I was hoping that
> 2.11 would fix it...alas
>
> On Thu, Apr 29, 2010 at 2:59 PM, Seth Schommer <scschommer at gmail.com> wrote:
>
>> I installed R 2.11.0 today and immediately came across an issue I did
>> not experience using version 2.10.1.  For some reason, I can not use
>> X11 in R.  Here's a simple example:
>>
>>
>>> X11()
>> Error in X11() : X11 module cannot be loaded
>> In addition: Warning message:
>> In X11() :
>>  unable to load shared library
>> '/Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so':
>>  dlopen(/Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so,
>> 6): Library not loaded: /usr/X11/lib/libpng12.0.dylib
>>  Referenced from:
>> /Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so
>>  Reason: Incompatible library version: R_X11.so requires version
>> 42.0.0 or later, but libpng12.0.dylib provides version 36.0.0
>>> sessionInfo()
>> R version 2.11.0 (2010-04-22)
>> i386-apple-darwin9.8.0
>>
>> locale:
>> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>>
>> I'm running Mac OS X 10.5.8.  This error occurs when running R.app and
>> while running R from the terminal.  After experience this I
>> reinstalled 2.10.1 and tried the same command and had no problems.
>> Just to make sure, I installed 2.11.0 again, and sure enough, I got
>> the same error.  Is this a bug, or have I done something wrong?
>>
>> Thanks,
>>
>> Seth
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list