From gordonp at ucalgary.ca  Fri Sep 14 22:35:58 2007
From: gordonp at ucalgary.ca (gordonp at ucalgary.ca)
Date: Fri, 14 Sep 2007 22:35:58 +0200 (CEST)
Subject: [Rd] Incomplete library linking for grDevices.so on Solaris
	(PR#9910)
Message-ID: <20070914203558.88FC32A3BC@slim.kubism.ku.dk>

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'



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