[Rcpp-devel] RcppArmadillo error
Abhisek
shieks at gmail.com
Tue May 18 14:04:16 CEST 2010
i thought i would repost here as it is a similar problem:
i updated Rcpp and then RcppArmadillo and when i run : export
PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"`
i get the following error
abhisek at shieks:~/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: _ZN4arma12arma_version5majorE
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
i tried recompiling RcppArmadillo, as well as uninstalling and reinstalling
RcppArmadillo from install.packages() to no avail.
could someone assist?
many thanks!
abhisek
On Wed, Apr 14, 2010 at 6:51 PM, Davor Cubranic <
davor.cubranic at alumni.cs.ubc.ca> wrote:
> On April 13, 2010 04:28:31 am Abhisek wrote:
> > sorry to raise this again after a hiatus. I updated to the latest
> > Rcpp (0.7.11) and when I tried the following commands:
> [...]
> > /home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/Rcp
> > pArmadillo.so: undefined symbol:
> > _ZN4Rcpp4growINS_5NamedEEEP7SEXPRECRKT_S3_ Calls: ::: ... tryCatch
> > -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted
>
> I ran into a similar error today after I upgraded my version of Rcpp
> from 0.7.10 (or maybe 0.7.10.1) to 0.7.11:
> /opt/R-2.10.1/lib/R/library/RcppArmadillo/libs/RcppArmadillo.so:
> undefined symbol:
> _ZN4Rcpp8internal12set_list_eltINS_5NamedEEEbP7SEXPRECS4_iRKT_
>
> In my case, uninstalling RcppArmadillo and then installing it again fixed
> the error.
>
> Maybe a new package version scheme is necessary to make it easier to
> keep RcppArmadillo and Rcpp in sync? Would bumping up version numbers
> more when there is a breaking API change help? For instance, when Named
> was eliminated between 0.7.10 and 0.7.11, the new version could have
> been called 0.8. RcppArmadillo packages would then depend on the Rccp
> version being less than the next major API change.
>
> Davor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100518/79b153c7/attachment.htm>
More information about the Rcpp-devel
mailing list