[R-SIG-Mac] Compiling Cairo
Zhang Xinlian
coral90zhang at gmail.com
Thu Jun 4 19:30:11 CEST 2015
I used brew install R to install R and I use the most recent version of
Rstudio. And when I use the "export" in Rstudio, it tells me the following.
Warning messages:
1: In cairo_pdf(file = "/Users/xinlianzhang/Desktop/Rplot.pdf", width =
5.22917, :
unable to load shared object
'/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so':
dlopen(/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so,
6): Library not loaded: /usr/local/lib/libjpeg.8.dylib
Referenced from:
/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so
Reason: Incompatible library version: cairo.so requires version 13.0.0 or
later, but libjpeg.8.dylib provides version 12.0.0
2: In cairo_pdf(file = "/Users/xinlianzhang/Desktop/Rplot.pdf", width =
5.22917, :
failed to load cairo DLL
在 2015年4月8日星期三 UTC-4下午7:28:51,O'Hanlon, Simon J写道:
>
> I’m trying to compile Cairo on OS X 10.10.2 and R 3.1.3. ./configure seems
> to run ok, but I get a compilation error about a symbol not being found,
> namely _FT_Done_Face. The details are:
>
> Error : .onLoad failed in loadNamespace() for 'Cairo', details:
> call: dyn.load(file, DLLpath = DLLpath, ...)
> error: unable to load shared object
> '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Cairo/libs/Cairo.so':
>
>
> dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Cairo/libs/Cairo.so,
> 6): Symbol not found: _FT_Done_Face
> Referenced from:
> /Library/Frameworks/R.framework/Versions/3.1/Resources/library/Cairo/libs/Cairo.so
>
> Expected in: flat namespace
> in
> /Library/Frameworks/R.framework/Versions/3.1/Resources/library/Cairo/libs/Cairo.so
>
> Error: loading failed
> Execution halted
>
> Am I missing some dependency or something?
>
> So as not to clog the post, my sessionInfo() is available at:
> http://pastebin.com/raw.php?i=kQFiY699
> And the output of ./configure is available at:
> http://pastebin.com/raw.php?i=wCUGtbBZ
>
> Thanks,
>
> Simon
>
>
>
> [[alternative HTML version deleted]]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20150604/cde2c58a/attachment-0003.html>
More information about the R-SIG-Mac
mailing list