[cairo] use of Cairo package with R
Bryce Harrington
bryce at osg.samsung.com
Mon Jul 11 18:28:00 UTC 2016
On Mon, Jul 11, 2016 at 09:25:15AM -0700, Joseph Norris wrote:
> Hello to All,
>
> I am having a real issue and I hope someone out there can direct me. I
> am moving a users R based system to a new Linux installation:
>
> 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64
> x86_64 x86_64 GNU/Linux
>
> I have R installed but the user needs Cairo. I got the latest version
> of Cairo package:
>
> Cairo_1.5-9.tar.gz
Latest version of Cairo is 1.14.4. 1.5 is pretty old.
> Then I do the following for installation under the users directory which
> is where she needs it do R library call
>
> R CMD INSTALL -l /home/dsvehla/R Cairo_1.5-9.tar.gz
>
> I get the following every time - even if I use older versions of the
> package:
>
> ** R
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> ** testing if installed package can be loaded
> Error : .onLoad failed in loadNamespace() for 'Cairo', details:
> call: dyn.load(file, DLLpath = DLLpath, ...)
> error: unable to load shared object
> '/home/dsvehla/R/Cairo/libs/Cairo.so':
> /home/dsvehla/R/Cairo/libs/Cairo.so: undefined symbol:
> cairo_surface_write_to_png
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing '/home/dsvehla/R/Cairo'
>
> No matter where I look I cannot find an answer to this issue - I have
> installed all ( I think ) dependencies for Cairo but still no go.
>
> Thanks for your help
By chance was cairo compiled without PNG support?
Bryce
More information about the cairo
mailing list