[Rcpp-devel] Shared library error after update

Simon Zehnder szehnder at uni-bonn.de
Mon Mar 3 14:38:20 CET 2014


Hi Dirk,

thanks for the quick reply! 

Though I couldn’t detect NEWS relevant for my package. I have rebuilt my package several times now and the error remains. I remember that there was once some news about Rcpp now being header only (also the Rcpp.package.skeleton function does not include a Makevars file in the src folder). Does that mean I delete the line

PKG_LIBS = ‘$(R_HOME)/bin/Rscript -e “Rcpp:::LdFlags()”’ 

from my Makevars file? Is it obligatory? 


Best

Simon


On 03 Mar 2014, at 14:19, Dirk Eddelbuettel <edd at debian.org> wrote:

> 
> On 3 March 2014 at 14:02, Simon Zehnder wrote:
> | Dear Rcpp::Users and Rcpp::Devels,
> | 
> | I updated to the newest versions of Rcpp and RcppArmadillo. Now I get an error with the shared library when compiling my package:
> | 
> | Error in dyn.load(file, DLLpath = DLLpath, ...) :
> |   unable to load shared object '/Users/simonzehnder/Library/R/R-gcc/library/finmix/libs/finmix.so':
> |   dlopen(/Users/simonzehnder/Library/R/R-gcc/library/finmix/libs/finmix.so, 6): Symbol not found: __ZN4Rcpp15SlotProxyPolicyINS_7S4_ImplINS_15PreserveStorageEEEE15const_SlotProxyC1ERKS3_RKSs
> | 
> | I have no clue where to begin with this one. Could anyone give me a hint?
> 
> You could start with the NEWS file for Rcpp 0.11.0.  Did you rebuild finmix ?
> 
> Dirk
> 
> -- 
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the Rcpp-devel mailing list