Skip to content

Can't load e1071

3 messages · David Meyer, Andrew Perrin

#
After upgrading to 1.7.0 under debian linux, I can't get e1071 working
properly.

The first problem I had was that g++-3.0 was the standard compiler but
wasn't installed, so I installed it. e1071 then installed correctly, but I
get the following:

aperrin at perrin:~/afshome/papers/authoritarian/R$ R

R : Copyright 2003, The R Development Core Team
Version 1.7.0  (2003-04-16)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.

R is a collaborative project with many contributors.
Type `contributors()' for more information.

Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.

[Previously saved workspace restored]
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library
"/usr/local/lib/R/site-library/e1071/libs/e1071.so":
  /usr/local/lib/R/site-library/e1071/libs/e1071.so: cannot dynamically
load executable
Error in library(e1071) : .First.lib failed


any suggestions? Thanks.

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
#
Andrew,

1) The current R version is 1.7.1
2) Which version of `e1071' are you using?
3) Does the `e1071.so' file exist (in e1071/libs)?

best,
David.
On 2003.06.24 21:43, Andrew Perrin wrote:
#
On Tue, 24 Jun 2003, David Meyer wrote:

            
hmmm...:
perrin:/usr/local/lib/R/site-library# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
perrin:/usr/local/lib/R/site-library# dpkg -l r-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  r-base         1.7.0-0.cran.1 GNU R statistical computing language and
env
perrin:/usr/local/lib/R/site-library#



apparently there's not a debian package available?
This is based on doing an install.packages('e1071') from within R as root
(which is how I have generally installed packages in the past).
Yes:

aperrin at perrin:~/afshome/papers/authoritarian/R$ ls -l
/usr/local/lib/R/site-library/e1071/libs/e1071.so
-rwxr-xr-x    1 root     staff      109247 Jun 24 15:41
/usr/local/lib/R/site-library/e1071/libs/e1071.so
Thanks,
Andy
----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu