On 13 March 2020 at 11:53, Zack McCaw wrote: | Hello all, | | I am attempting to submit a package (https://github.com/zrmacc/Temporal) | that uses RcppArmadillo. The package builds successfully locally (on Mac) | and on Windows. However, when submitting to CRAN, it fails to build on | Debian with the following error: | | Error: package or namespace load failed for ‘Temporal’ in dyn.load(file, | DLLpath = DLLpath, ...): unable to load shared object | ‘/srv/hornik/tmp/CRAN/Temporal.Rcheck/00LOCK-Temporal/00new/Temporal/libs/Temporal.so’:/srv/hornik/tmp/CRAN/Temporal.Rcheck/00LOCK-Temporal/00new/Temporal/libs/Temporal.so: | undefined symbol: dgesvd_ | | I have ensured that the Makevars file is formatted as recommended by the | RcppArmadillo.package.skeleton | <https://cran.r-project.org/web/packages/RcppArmadillo/RcppArmadillo.pdf>() | function. Specifically, it contains the following: | | CXX_STD = CXX11 | PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) | PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) | | Any help with understanding how to resolve the error on Debian would | be greatly appreciated.
Sort of the wrong forum. Please consider subscribing to the rcpp-devel list and posting there. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel