[R] Symbol __f95_sign not found.

Rolf Turner rolf at math.unb.ca
Thu Apr 27 22:48:39 CEST 2006


Our computing services people have recently reconfigured the Sun
compilers structure on our network, and I can no longer install, on
our Sun/Solaris machine, a certain package (spatstat) with which I am
heavily involved.  (The same problem may well pertain to other
packages as well; I haven't yet experimented except with spatstat.)

Strictly speaking I can ***install*** it, but when I try
to ***load*** it I get an error message:

===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
 > library(spatstat)
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
        unable to load shared library '/home/faculty/rolf/Rlib/spatstat/libs/spatstat.so':
  ld.so.1: R: fatal: relocation error: file /home/faculty/rolf/Rlib/spatstat/libs/spatstat.so: symbol __f95_sign: referenced symbol not found
Error in library(spatstat) : .First.lib failed for 'spatstat'
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===

so something is going wrong with the install.

I did nm on spatstat.so, and sure enough got

===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
$ nm spatstat.so | grep f95
[189]   |    185004|       4|OBJT |LOCL |0    |20     |__f95__happiness
        .
        .
        .
[195]   |    185008|       4|OBJT |LOCL |0    |20     |__f95__happiness
[512]   |         0|       0|FUNC |GLOB |0    |UNDEF  |__f95_sign
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===

so, yep, it's undefined.  But what do I do about it?

The ``R CMD INSTALL spatstat'' runs without complaint.

Where is ``__f95_sign'' coming from?  How do I rearrange things so
that this symbol *can* be found?  Could someone please gently
point me in the right direction?  I haven't a clue where to start. :-(

Thanks for any hints.

				cheers,

					Rolf Turner
					rolf at math.unb.ca

P. S.  Version info:

 > version
         _                   
platform sparc-sun-solaris2.9
arch     sparc               
os       solaris2.9          
system   sparc, solaris2.9   
status                       
major    2                   
minor    2.0                 
year     2005                
month    10                  
day      06                  
svn rev  35749               
language R

P^2. S.  What's with this ``__f95__happiness'' jazz???




More information about the R-help mailing list