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

Romain Francois romain at r-enthusiasts.com
Fri Aug 20 15:05:23 CEST 2010


Le 20/08/10 11:05, Romain Francois a écrit :
> Le 20/08/10 10:46, Romain Francois a écrit :
>> Le 20/08/10 09:41, baptiste auguie a écrit :
>>> Indeed, I had forgotten to rerun roxygen before my last commit, sorry.
>>> It should be OK now.
>>>
>>> I've also put the source tarball from R CMD BUILD here,
>>>
>>> http://dl.dropbox.com/u/352834/cda_1.0.tar.gz
>>>
>>> Best regards,
>>>
>>> baptiste
>>
>> Ok. It installs and loads fine for me on OSX too. I'll try later on
>> fedora to see what happens.
>
> Hmm. I get the same error now on fedora.
>
> ** testing if installed package can be loaded
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared library '/usr/local/lib/R/library/cda/libs/cda.so':
> /usr/local/lib/R/library/cda/libs/cda.so: undefined symbol: zgetri_
> ERROR: loading failed
> * removing ‘/usr/local/lib/R/library/cda’
>
>
>
> Is it possible that this is not included in R's lapack ?
>
> $ cd R-devel/src
> $ egrep -R [a-z]getri *
> include/R_ext/.svn/text-base/Lapack.h.svn-base:F77_NAME(dgetri)(const
> int* n, double* a, const int* lda,
> include/R_ext/Lapack.h:F77_NAME(dgetri)(const int* n, double* a, const
> int* lda,

And also, on the mac :

$ nm libRlapack.dylib | grep getri
0000000000097920 T _dgetri_

and on fedora :

$ nm libRlapack.so | grep getri
0009c510 T dgetri_

So, zgetri_ seems not to be there at all.

Is this perhaps an extension to lapack, or is R not keeping of lapack, 
or ...

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/bzoWrs : Rcpp svn revision 2000
|- http://bit.ly/b8VNE2 : Rcpp at LondonR, oct 5th
`- http://bit.ly/aAyra4 : highlight 0.2-2



More information about the Rcpp-devel mailing list