[Rd] Incomplete library linking for grDevices.so on Solaris (PR#9910)

gordonp at ucalgary.ca gordonp at ucalgary.ca
Fri Sep 14 22:35:58 CEST 2007


Full_Name: Paul Gordon
Version: 2.6.1 (alpha)
OS: Solaris 10
Submission from: (NULL) (136.159.169.6)


When compiling R 2.6.1 (alpha 2007-09-13), grDevices.so fails to link properly
because of a missing symbol __vlog_.  This symbol is defined in libmvec.so, but
no -lmvec is add by the configure script.  Manually adding -lmvec to the linking
command allows grDevices to compile.  The error output of the make command (for
a 64-bit version of R) is given below:

cc -G -m64 -L/lib/64 -L/usr/lib/64 -L/usr/local/lib/64 -L/usr/ucblib/sparcv9
-L/usr/ccs/lib/sparcv9 -L/opt/SUNWspro/prod/lib/sparcv9 -o grDevices.so chull.o
devNull.o devPicTeX.o devPS.o devQuartz.o init.o
Warning in solve.default(rgb) :
  unable to load shared library
'/export/home/gordonp/Desktop/R-alpha/modules//lapack.so':
  ld.so.1: R: fatal: relocation error: file
/export/home/gordonp/Desktop/R-alpha/lib/libRlapack.so: symbol __vlog_:
referenced symbol not found
Error in solve.default(rgb) : lapack routines cannot be loaded
Error: unable to load R code in package 'grDevices'



More information about the R-devel mailing list