I have released an R
package on CRAN
which depends on the successful compilation of some RcppArmadillo
code. The package built correctly and with no notes on all the test systems that I tried (CRAN comments here if interested), however, the CRAN checks fail on solaris-sparc
and are unable to load a dependency on solaris-x86
.
See here for CRAN checks.
The reason for the error is given as ld: fatal: library -llapack: not found
(from goldi-00install.html).
In my Makevars
and Makevars.win
, I have stated -llapack
in PKG_LIBS
, which I thought was sufficient.
PKG_LIBS= -Wsign-compare -llapack
in both.
However, I'm unsure how to declare this dependency for Solaris. Is there a separate Makevars
that I must write, or there a different location that I must state the dependency?
I have read the relevant section of the "Writing R Extensions" manual, and suspect that I may have to declare $(LLAPACK_LIBS)
in PKG_LIBS
, but have no way of testing it on a solaris platform. Is this the correct path to follow?
Thanks for any help, it's much appreciated.
Package on Github
Package on CRAN