Skip to content
Prev 6184 / 10988 Next

[Rcpp-devel] Unable to load shared object

Dirk,

Thank you for your fast reply!

With regard to your specific suggestions:

|Two suggestions.? First, try creating a simple package without MathGL just to
|make sure you have that process of going from sourceCpp via compileAttributes
|to a package licked.??

Yes, I did successfully create a simple package (using RStudio) as a "warm-up" exercise (I created a package for the
classic gibbs.cpp function). I can load the package, and use the gibbs function as expected.

|Second, and as an alternative, try it the other way
|without attributes.? There are a number of simple package that link to
|external libraries; you could pick any as an example.?

I'm not quite sure what you mean by this one. Could you please give me a brief description/procedure as to how to do this? (I'm still a bit of?
a newbie with Rcpp...)


|The linmk error rings a faint bell, but I cannot quite connect the dots. You
|don't by chance have two version of Rcpp installed -- in /usr/local and below
|/home/hp, say?


No, I don't have two versions installed. Just to be sure, I removed what I had and re-installed (actually upgraded to 0.10.4). Same issue...


After going some googling on this, the consensus seems to be that there's something awry with ldconfig or LD_LIBRARY_PATH environment variable setting.

Thanks!