[Rd] [R] Problem loading library Matrix on Solaris machine

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Aug 19 15:29:26 CEST 2004


I have four Solaris build setups, gcc/Forte cc x 32/64-bit.
If you tell me a bit more about yours, I can do the appropriate testing.

Looks like this

Matrix/src/taucs/taucs.h:
#if (defined(OSTYPE_irix) || defined(OSTYPE_solaris))

#include <math.h>
#include <ieeefp.h>
#define isinf(x) (!finite((x)) && !isnan((x)))

needs OSTYPE_solaris defined.  (I think I told Doug about this long ago.)

On Thu, 19 Aug 2004, Gerrit Eichner wrote:

> Dear R-devel list members,
> 
> after having contacted Douglas Bates (author of package Matrix) he
> suggested to ask this list for assistance with the following problem:
> 
> After having under
> 
> > version
> platform sparc-sun-solaris2.9
> arch     sparc
> os       solaris2.9
> system   sparc, solaris2.9
> status
> major    1
> minor    9.1
> year     2004
> month    06
> day      21
> language R
> 
> 
> successfully installed the Matrix package
> 
> > packageDescription( "Matrix")
> Package: Matrix
> Version: 0.8-10
> Date: $Date: 2004-07-07 13:23:11 -0500 (Wed, 07 Jul 2004) $
> ...
> Packaged: Wed Jul 7 14:22:56 2004; bates
> Built: R 1.9.1; sparc-sun-solaris2.9; 2004-08-18 14:25:48; unix
> -- File: /usr1/soft/R-1.9.1/lib/R/library/Matrix/DESCRIPTION
> 
> 
> by using
> 
> > options(CRAN = "http://cran.r-project.org/")
> > install.packages("Matrix")
> 
> 
> the attempt to load the library failed:
> 
> > library( Matrix)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> "/usr1/soft/R-1.9.1/lib/R/library/Matrix/libs/Matrix.so":
>   ld.so.1: /usr1/soft/R-1.9.1/lib/R/bin/R.bin: fatal: relocation error:
> file /usr1/soft/R-1.9.1/lib/R/library/Matrix/libs/Matrix.so: symbol isinf:
> referenced symbol not found
> Error in library(Matrix) : package/namespace load failed
> 
> 
> Are we missing anything obvious? Is anybody able to point me to a
> solution?
> (We do not have the problem on a Linux machine, so it does not seem to be
> an installation error made by us, but is apparently due to our Solaris
> system libraries.)
> 
> Thank you for any help!
> 
>  Best regards  --  Gerrit
> 
> -------------------------------------------------------------------------
>  AR Dr. Gerrit Eichner                            Mathematical Institute
>  gerrit.eichner at math.uni-giessen.de     Justus-Liebig-University Giessen
>  Tel: +49-(0)641-99-32104            Arndtstr. 2, 35392 Giessen, Germany
>  Fax: +49-(0)641-99-32029      http://www.math.uni-giessen.de/Stochastik
> 
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
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



More information about the R-devel mailing list