[Rcpp-devel] package build error on r-forge linking to RcppArmadillo

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Thu Dec 6 06:17:47 CET 2012


See some previous discussion of this which I raised.

Essentially, Rcpp has been updated and this requires RcppArmadillo to
be re-installed.  I don't think RcppArmadillo has been updated per se,
and this is why nothing has triggered a re-install.

So either R-forge re-installs RcppArmadillo, which I don't know if you
could get them to, or you wait until RcppArmdillo is updated (thereby
triggering a reinstall). There is nothing you can do apart from
appealing to the powers that be.

Kasper

On Wed, Dec 5, 2012 at 11:45 PM, alexios ghalanos <alexios at 4dscape.com> wrote:
> Hello,
>
> My rugarch package on r-forge which links to Rcpp/RcppArmadillo has in the
> last 2 check cycles failed with the following errors:
>
> Thu Dec  6 00:15:29 2012: Building tarball for package rugarch (SVN revision
> 502)
> using R version 2.15.2 Patched (2012-12-04 r61215) ...
>
> installing to /tmp/RtmppcKcfx/Rinst3a3130428148/rugarch/libs
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>   unable to load shared object
> ‘/home/rforge/lib/R/2.15/RcppArmadillo/libs/RcppArmadillo.so’:
>   /home/rforge/lib/R/2.15/RcppArmadillo/libs/RcppArmadillo.so: undefined
> symbol: _ZN4Rcpp8internal14r_vector_startILi14EdEEPT0_P7SEXPREC
> Error : package ‘RcppArmadillo’ could not be loaded
> ERROR: lazy loading failed for package ‘rugarch’
> * removing ‘/tmp/RtmppcKcfx/Rinst3a3130428148/rugarch’
>
> More details here:
> https://r-forge.r-project.org/R/?group_id=339&log=check_x86_64_windows&pkg=rugarch&flavor=patched
>
> I've been unable to replicate the problem locally on either windows or
> Ubuntu x64 machines with R version 2.15.2 Patched (2012-12-04 r61215), and
> the latest Rcpp/RcppArmadillo versions from r-forge. I've not made
> any changes to the source code either.
> gcc/g++ are 4.6.3 20111208 (from latest R-tools for the windows machine).
>
> Any ideas/help much appreciated.
>
> Thanks for your time (and the excellent Rcpp* packages).
>
> Regards,
> -Alexios
>
>
>
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


More information about the Rcpp-devel mailing list