[R] [FORGED] Error installing the package "Cairo"
psandeepmallya at gmail.com
Tue Feb 16 06:42:17 CET 2016
I tried the command below
sudo yum install cairo-devel.x86_64
Package cairo-devel-1.8.8-6.el6_6.x86_64 already installed and latest
Nothing to do
I have also tried installing libpng-devel
Still the error persists.
On Tue, Feb 16, 2016 at 3:09 AM, Rolf Turner <r.turner at auckland.ac.nz>
> On 15/02/16 22:51, Sandeep Mallya wrote:
>> Hello all,
>> I am trying to install the package Cairo on RedHat running R version
>> So far I have tried install.packages("Cairo")
>> R CMD INSTALL Cairo_1.5-9.tar.gz
>> Both the approaches giving me the same error below.
>> Error : .onLoad failed in loadNamespace() for 'Cairo', details:
>> call: dyn.load(file, DLLpath = DLLpath, ...)
>> error: unable to load shared object
>> libpng15.so.15: cannot open shared object file: No such file or
>> Error: loading failed
>> Execution halted
>> Can someone please guide me.
> You apparently do not have the "cairo infrastructure" installed on your
> computer. You probably need to do something like:
> sudo yum install cairo.x86_64 # Prob'ly not necessary, this package
> # should be already there.
> sudo yum install cairo-devel.x86_64
> You may not need to include the ".x86.64" strings, I'm not sure. Or you
> may need *not* to include them!
> Rolf Turner
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
[[alternative HTML version deleted]]
More information about the R-help