<div dir="ltr">I'm trying to build a package using Rcpp that interfaces with an external C library. I was able to build and start writing a tests.R file, when I found a bug in my .cpp file. I made the fix, and when I tried to clean and rebuild I am getting the following error:<div><br></div><div> Error in dyn.load(file, DLLpath = DLLpath, ...) : </div><div>  unable to load shared object '/home/arjun/R/x86_64-pc-linux-gnu-library/3.2/NewRcppSSC/libs/NewRcppSSC.so':</div><div>  /home/arjun/R/x86_64-pc-linux-gnu-library/3.2/NewRcppSSC/libs/NewRcppSSC.so: undefined symbol: _Z7set_strSsSs</div><div><br></div><div>I tried rebuilding from scratch and I am still getting the above error. The only possible solution I have found online is to call library.dynam from .First.lib hook according to <a href="http://dept.stat.lsa.umich.edu/~yizwang/software/maxLinear/noteonR.html">http://dept.stat.lsa.umich.edu/~yizwang/software/maxLinear/noteonR.html</a>.</div><div><br></div><div>I am still working on it, but I have not gotten it to work yet. Any help would be greatly appreciated.</div><div><br></div><div>-- Arjun</div></div>