[R] spatstat symbol referencing error

David Stone D.Stone at macaulay.ac.uk
Wed Nov 1 12:57:51 CET 2006


Sparc Solaris 8
SunStudio 11 compilers
R-2.3.1
spatstat 1.10-1

R-2.3.1 and spatstat were installed using SunStudio11 compilers on a
Sparc Solaris 8 machine. No errors were reported in the compilations,
however, when I try to load spatstat I get an error:
> library(spatstat)
Loading required package: mgcv
This is mgcv 1.3-20 
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
        unable to load shared library
'/software/R-2.3.1/lib/R/library/spatstat/libs/spatstat.so':
  ld.so.1: R: fatal: relocation error: file
/software/R-2.3.1/lib/R/library/spatstat/libs/spatstat.so: symbol
__1cG__CrunKpure_error6F_v_: referenced symbol not found
Error in library(spatstat) : .First.lib failed for 'spatstat'

I think the symbol is defined in the Sunstudio lib libCrun.so
(/software/sunstudio11/SUNWspro/lib/libCrun.so) but this library does
not appear in the list of libraries output by ldd ran against
spatstat.so.
My LD_LIBRARY_PATH includes /software/sunstudio11/SUNWspro/lib

Any ideas, or help, or pointers to package install troubleshooting
resources much appreciated,
David

David Stone
Systems & Database Administrator
Macaulay Institute
Craigiebuckler
Aberdeen AB15 8QH
+44 (0)1224 498200
www.macaulay.ac.uk
 


-- 
Please note that the views expressed in this e-mail are those of the
sender and do not necessarily represent the views of the Macaulay
Institute. This email and any attachments are confidential and are
intended solely for the use of the recipient(s) to whom they are
addressed. If you are not the intended recipient, you should not read,
copy, disclose or rely on any information contained in this e-mail, and
we would ask you to contact the sender immediately and delete the email
from your system. Thank you.
Macaulay Institute and Associated Companies, Macaulay Drive,
Craigiebuckler, Aberdeen, AB15 8QH.



More information about the R-help mailing list