On 8 February 2011 at 13:42, Douglas Bates wrote: | I'm back to "it's not your night, kid". I seem to be unable to | install the RcppArmadillo package under Ubuntu 10.10 with R-2.12.1 | installed from the packages on CRAN. The compilation goes fine but | the package can't be loaded because the symbol | arma::arma_version::major is undefined. It should have been defined | as a static unsigned int in | RcppArmadillo/inst/include/armadillo_bits/arma_version.hpp and is | indeed used in RcppArmadillo/src/RcppArmadillo.cpp. The output from | the attempted installation is enclosed.
What does ldd say when you point at .so file that fails to load? Do you maybe have an old .deb package for Armadillo hanging around? Needless to say, it all works here on the same platform. I also ran R CMD check on both the most recent release and the svn head (which may still be identical). edd@max:~/svn/rcpp/pkg$ lsb_release -ricd Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick edd@max:~/svn/rcpp/pkg$ R CMD INSTALL releases/RcppArmadillo_0.2.11.tar.gz * installing to library ‘/usr/local/lib/R/site-library’ * installing *source* package ‘RcppArmadillo’ ... ** libs ccache g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -g -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c RcppArmadillo.cpp -o RcppArmadillo.o ccache g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -g -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c fastLm.cpp -o fastLm.o g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib64/R/lib -lR installing to /usr/local/lib/R/site-library/RcppArmadillo/libs ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ... ** testing if installed package can be loaded * DONE (RcppArmadillo) edd@max:~/svn/rcpp/pkg$ R CMD INSTALL RcppArmadillo/ * installing to library ‘/usr/local/lib/R/site-library’ * installing *source* package ‘RcppArmadillo’ ... ** libs ccache g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -g -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c RcppArmadillo.cpp -o RcppArmadillo.o ccache g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I../inst/include -fpic -g -O3 -Wall -pipe -pedantic -Wno-variadic-macros -c fastLm.cpp -o fastLm.o g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib64/R/lib -lR installing to /usr/local/lib/R/site-library/RcppArmadillo/libs ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ... ** testing if installed package can be loaded * DONE (RcppArmadillo) edd@max:~/svn/rcpp/pkg$ Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel