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@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, rip...@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
______________________________________________
R-help@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.