Dear list, I am sorry to bother you with this. I just upgraded yesterday to R 2.0.0 (using apt-get under Debian Sid), and now have problems running e.g., summary(lm(...)) the lm is calculated, but the summary statement gives me the following error: Error in La.chol2inv(x, size) : lapack routines cannot be loaded In addition: Warning message: unable to load shared library "/usr/lob/R/modules/lapack.so": /usr/lib/Pentium4_SSE2_512KB/liblapack.so.3: undefined symbol: ieeeck_ I searched through the archives, but unfortunately I am just not LINUX-knowledgeable enough to understand the discussions concerning the algebra libraries. Following an older mail to this list, I did ldd /usr/lib/R/modules/lapack.so everything looks fine except probably for the first line, which reads libR.so => not found I would appreciate any hints on how to fix this problem! Thanks a lot. Christian -- Christian Fiebach, PhD Department of Psychology & Helen Wills Institute of Neuroscience 132 Barker Hall, MC# 3190 University of California, Berkeley CA 94720-3190 Berkeley, USA fon: 510-642-2839 fax: 510-642-3192 web: http://fiebach.org email: mailto:christian at fiebach.org
On Tue, 12 Oct 2004, Christian Fiebach wrote:> Dear list, > > I am sorry to bother you with this. > > I just upgraded yesterday to R 2.0.0 (using apt-get under Debian Sid), and > now have problems running e.g., summary(lm(...)) > > the lm is calculated, but the summary statement gives me the following > error: > > Error in La.chol2inv(x, size) : lapack routines cannot be loaded > In addition: Warning message: > unable to load shared library "/usr/lob/R/modules/lapack.so": > /usr/lib/Pentium4_SSE2_512KB/liblapack.so.3: undefined symbol: ieeeck_ > > I searched through the archives, but unfortunately I am just not > LINUX-knowledgeable > enough to understand the discussions concerning the algebra libraries. > > Following an older mail to this list, I did > ldd /usr/lib/R/modules/lapack.so > everything looks fine except probably for the first line, which reads > libR.so => not foundUse R CMD ldd /usr/lib/R/modules/lapack.so to get an accurate picture. I think you need to ask this on a Debian list. The R developers do not recommend the use of an external Lapack library (and the Debian ones have had `patches' that were incorrect before now). (See the discussion in the R-admin manual.) In this case I guess that it has not been linked against the right set of external libraries for your particular machine.> I would appreciate any hints on how to fix this problem!Should work if you build R from the sources with the default options. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On Tue, Oct 12, 2004 at 10:46:09AM -0700, Christian Fiebach wrote:> Dear list, > > I am sorry to bother you with this. > > I just upgraded yesterday to R 2.0.0 (using apt-get under Debian Sid), and > now have problems running e.g., summary(lm(...)) > > the lm is calculated, but the summary statement gives me the following > error: > > Error in La.chol2inv(x, size) : lapack routines cannot be loaded > In addition: Warning message: > unable to load shared library "/usr/lob/R/modules/lapack.so": > /usr/lib/Pentium4_SSE2_512KB/liblapack.so.3: undefined symbol: ieeeck_Is that the liblapack, i.e. do you actually have a Pentium IV ? It could be that this isn;t R specific, but related to the choice Debian gives with respect to lapack and blas libraries. You could try to downgrade to the refblas3 and lapack3 packages. We should probably continue this off-list. Dirk> I searched through the archives, but unfortunately I am just not > LINUX-knowledgeable > enough to understand the discussions concerning the algebra libraries. > > Following an older mail to this list, I did > ldd /usr/lib/R/modules/lapack.so > everything looks fine except probably for the first line, which reads > libR.so => not found > > I would appreciate any hints on how to fix this problem! > > Thanks a lot. > > Christian > > > -- > Christian Fiebach, PhD > > Department of Psychology & > Helen Wills Institute of Neuroscience > 132 Barker Hall, MC# 3190 > University of California, Berkeley > CA 94720-3190 Berkeley, USA > fon: 510-642-2839 > fax: 510-642-3192 > web: http://fiebach.org > email: mailto:christian at fiebach.org > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html-- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx
On Tue, 12 Oct 2004, Christian Fiebach wrote:> > >>Dear list, >> >>I am sorry to bother you with this. >> >>I just upgraded yesterday to R 2.0.0 (using apt-get under Debian Sid), and >>now have problems running e.g., summary(lm(...)) >> >>the lm is calculated, but the summary statement gives me the following >>error: >> >>Error in La.chol2inv(x, size) : lapack routines cannot be loaded >>In addition: Warning message: >>unable to load shared library "/usr/lob/R/modules/lapack.so": >> /usr/lib/Pentium4_SSE2_512KB/liblapack.so.3: undefined symbol: ieeeck_ >> >>I searched through the archives, but unfortunately I am just not >>LINUX-knowledgeable >>enough to understand the discussions concerning the algebra libraries. >> >>Following an older mail to this list, I did >>ldd /usr/lib/R/modules/lapack.so >>everything looks fine except probably for the first line, which reads >>libR.so => not found >> >>So does that mean that you have one of the Debian packages atlas3-base or atlas3-3dnow or atlas3-sse or atlas3-sse2 or lapack3 installed? You should have had at least one of those installed to be able to install the r-base-core Debian package. In the output from ldd /usr/lib/R/modules/lapack.so, does liblapack.so.3 get resolved to /usr/lib/liblapack.so.3 and, if so, what is that file? It is probably a link to /usr/lib/liblapack-3.so which, in turn, is a link to /etc/alternatives/liblapack-3.so. Check that the file linked as /etc/alternatives/liblapack-3.so actually exists.