Skip to content
Prev 614 / 10988 Next

[Rcpp-devel] RcppArmadillo error

Hi,

sorry to raise this again after a hiatus.  I updated to the latest Rcpp
(0.7.11) and when I tried the following commands:

$ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"`
$ export PKG_LIBS=`Rscript -e "RcppArmadillo:::LdFlags()"`

I obtained the following error.

~/Desktop/Personal/Test$ export PKG_CXXFLAGS=`Rscript -e
"RcppArmadillo:::CxxFlags()"`
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so':

/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so:
undefined symbol: _ZN4Rcpp4growINS_5NamedEEEP7SEXPRECRKT_S3_
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Could you please advise?  Im almost there!

thanks!
abhisek
On Thu, Apr 1, 2010 at 4:12 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100413/1a0d8d4a/attachment.htm