[R] loading igraph package on Solaris

Peter McMahan peter.mcmahan at gmail.com
Wed Jan 9 00:29:16 CET 2008


Hello,
I'm having trouble getting the igraph package to load on Solaris. I  
can get igraph to compile and install from a local directory without  
issues using simply "R CMD INSTALL igraph", however "library(igraph)"  
from within R gives the following errors:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
         unable to load shared library '/home/mcmahan/R/i386-pc- 
solaris2.10-library/2.5/igraph/libs/igraph.so':
   ld.so.1: R: fatal: relocation error: file /home/mcmahan/R/i386-pc- 
solaris2.10-library/2.5/igraph/libs/igraph.so: symbol __1cDstdEcerr_:  
referenced symbol not found
Error : .onLoad failed in 'loadNamespace' for 'igraph'
Error: package/namespace load failed for 'igraph'

At the suggestion of the igraph help list, I've tried adding "-lCstd"  
to src/Makevars.in after the "PKG_LIBS=@XML2_LIBS@" and recompliling,  
but no luck.

Any ideas? My system info is:
SunOS 5.10 i386  Generic_120012-14 09-19-2007
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
R version 2.5.1 (2007-06-27)
igraph version 0.4.5 (with a few changes to compile on Solaris)

thanks,
Peter




More information about the R-help mailing list