An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110210/2e35e186/attachment.pl>
Installing cairo-package fails / solaris
3 messages · Reinhard Sy, Brian Ripley
First, it is 'Cairo' (R is case sensitive), and this is wrong list (see the posting guide). But in any case we can't help you as what you show is far from complete and this is not an R issue. Usually there are multiple versions of such libraries on a Solaris system: the problem is most likely the library paths. Please ask your local Solaris help for assistance in sorting out what is a local problem. (FWIW I can install package Cairo on Solaris if I use GNU make, an undeclared dependence. But I wonder why you would want to do this when R's own graphics devices do almost everything Cairo does, often better since we use pango for font selection.)
On Thu, 10 Feb 2011, Reinhard Sy wrote:
Hi, I have installed the latest version of libglib-2.0 (2.28.0) and cairo 1.10.2 Then I have compiled R 2.12.1 But when i I try to install Cairo (1.4-6) I get the following unreferenced Symbol error: *** 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 '/opt/gnu/R-2.12.1/lib/R/library/Cairo/libs/Cairo.so': ld.so.1: R: fatal: relocation error: file /opt/gnu/corelib-1.1_32/lib//libcairo.so.2: symbol FT_Library_SetLcdFilter: referenced symbol not found ERROR: loading failed * removing '/opt/gnu/R-2.12.1/lib/R/library/Cairo' This all I have done on Solaris with the Sun Studio 11 Compiler When I configure cairo-1.10.2 I got: checking for FT_Library_SetLCDFilter.... yes Looks like it is anywhere on my system. But why R does not find it - Need I a special Environment variable to define the location of the library that contains the object ? But from which library this object is comming ? Thank for any hint Reinhard [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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
If you read my email carefully then: if I wrote Cairo I mean the R Package Cairo else I mean the Library cairo from carographics.org! I need to use Cairo because we are creating a huge amount of graphics in BATCH mode for reporting purpose. I think pango is not the solution I need for this but I could be wrong. The matter to upgrade from R 2.7 to 2.12 on our production system is we need more/other Database packages that we used before. Reinhard Am 10.02.2011 13:59, schrieb Prof Brian Ripley:
First, it is 'Cairo' (R is case sensitive), and this is wrong list (see the posting guide). But in any case we can't help you as what you show is far from complete and this is not an R issue. Usually there are multiple versions of such libraries on a Solaris system: the problem is most likely the library paths. Please ask your local Solaris help for assistance in sorting out what is a local problem. (FWIW I can install package Cairo on Solaris if I use GNU make, an undeclared dependence. But I wonder why you would want to do this when R's own graphics devices do almost everything Cairo does, often better since we use pango for font selection.) On Thu, 10 Feb 2011, Reinhard Sy wrote:
Hi,
I have installed the latest version of libglib-2.0 (2.28.0) and cairo
1.10.2
Then I have compiled R 2.12.1
But when i I try to install Cairo (1.4-6) I get the following
unreferenced Symbol error:
*** 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
'/opt/gnu/R-2.12.1/lib/R/library/Cairo/libs/Cairo.so':
ld.so.1: R: fatal: relocation error: file
/opt/gnu/corelib-1.1_32/lib//libcairo.so.2: symbol
FT_Library_SetLcdFilter: referenced symbol not found
ERROR: loading failed
* removing '/opt/gnu/R-2.12.1/lib/R/library/Cairo'
This all I have done on Solaris with the Sun Studio 11 Compiler
When I configure cairo-1.10.2 I got:
checking for FT_Library_SetLCDFilter.... yes
Looks like it is anywhere on my system.
But why R does not find it - Need I a special Environment variable to
define the location of the library that contains the object ? But from
which library this object is comming ?
Thank for any hint
Reinhard
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.