[Rcpp-devel] r-forge error: undefined symbol: zgetri_

Douglas Bates bates at stat.wisc.edu
Thu Aug 19 23:50:52 CEST 2010


On Thu, Aug 19, 2010 at 3:06 PM, baptiste auguie
<baptiste.auguie at googlemail.com> wrote:
> Dear all,
>
> I'm stumped by this error for my cda package on r-forge:
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared library '/tmp/Rinst2710053821/cda/libs/cda.so':
>  /tmp/Rinst2710053821/cda/libs/cda.so: undefined symbol: zgetri_
>
> https://r-forge.r-project.org/R/?group_id=160&log=build_src&pkg=cda&flavor=patched
>
>
> I don't have a clue what this means --- is this an incorrect
> dependency, an error in my C++ code, a known problem with r-forge,
> something I should have read in a vignette / manual ... ? It compiles
> fine on my machine (Mac OS 10.6). The package uses RcppArmadillo.

The error means that there is a reference to one of the Lapack
functions, zgetri, which forms the inverse of a complex matrix using
its triangular factorization, and the symbol could not be found.  What
does your cda/src/Makevars file contain?


More information about the Rcpp-devel mailing list