From Gerrit.Eichner at math.uni-giessen.de  Thu Aug 19 11:49:57 2004
From: Gerrit.Eichner at math.uni-giessen.de (Gerrit Eichner)
Date: Thu Aug 19 11:50:32 2004
Subject: [Rd] [R] Problem loading library Matrix on Solaris machine
Message-ID: <Pine.A41.4.58.0408191127550.19590@e1.hrz.uni-giessen.de>

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


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