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

From: <gordonp_at_ucalgary.ca>
Date: Fri, 14 Sep 2007 22:35:58 +0200 (CEST)


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'



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 14 Sep 2007 - 22:29:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 15 Sep 2007 - 12:40:53 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.