Re: [R] Can't load e1071

About this list Date view Thread view Subject view Author view Attachment view

From: Andrew Perrin (
Date: Wed 25 Jun 2003 - 10:44:57 EST

Message-id: <>

On Tue, 24 Jun 2003, Dirk Eddelbuettel wrote:

> On Tue, Jun 24, 2003 at 07:47:19PM -0400, Andrew Perrin wrote:
> > OK, thanks. Is that the problem with e1071? Any advice on getting it
> > loaded?
> [ It is considered impolite to reply to private messages via the list. ]

Sorry for any impoliteness. I was trying to ask the whole list, since I
suspect the two issues are different.

> You misunderstand: R in Debian is in unstable. e1071 is an add-on package
> that always loaded without any issues.

No, I don't misunderstand. R 1.7.0 is in debian-stable, which is why it's
what I'm running. I appreciate that information. e1071 is an add-on
package that used to load without any issues, but it does not do so on
either of my debian-stable machines. They both fail with the same message:

> library(e1071)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library
  /usr/local/lib/R/site-library/e1071/libs/ cannot dynamically
load executable
Error in library(e1071) : .First.lib failed

...even though /usr/local/lib/R/site-library/e1071/libs/ exists
and is readable.

That was the reason for the original post; someone else noted that my
installation of R was old, which led to this thread.

The first problem I had is that R apparently assumes that g++-3.0 will be
the compiler, since:

aperrin@joehill:/usr/local/lib/R/site-library/e1071/libs$ R CMD config CXX

...even if g++-3.0 isn't installed on the machine:
joehill:/usr/src/e1071# dpkg -l | grep g++
ii g++ 2.95.4-14 The GNU C++ compiler.
ii g++-2.95 2.95.4-11woody The GNU C++ compiler.

If I install g++-3.0, then install e1071 from the net, the installation
works fine, but using the library gives the error above.

Thanks for your interest and help.

Andrew J Perrin -
Assistant Professor of Sociology, U of North Carolina, Chapel Hill * andrew_perrin (at)

______________________________________________ mailing list

About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:08 EST