[R] ReInstalling packages

Noel Yvonnick noel at univ-lille3.fr
Mon Jul 15 18:17:20 CEST 2002


Hello,

I just have upgraded from Mandrake 8.1 to 8.2 and installed R 1.5.1. I now try 
to reinstall all the packages but get the following error (for the multiv 
package for instance) :

/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [multiv.so] Erreur 1
ERROR: compilation failed for package 'multiv'

The readline library is under /lib on my system and I have added this path to 
the FLIBS and LIBPATH fields in /usr/lib/R/etc/Makeconf. I also have added it 
to the LD_LIBRARY_PATH environmental variable (not so clean but...) and it 
doesn't work neither !

Any hint ?
-- 
Yvonnick Noel
Universite de Lille 3
UFR de psychologie

==========
Copy of the output

> install.packages("multiv")
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 78375 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... ......
downloaded 76Kb

trying URL `http://cran.r-project.org/src/contrib/multiv_1.1-4.tar.gz'
Content type `application/x-tar' length 48699 bytes
opened URL
.......... .......... .......... .......... .......
downloaded 47Kb

* Installing *source* package 'multiv' ...
** libs
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c bea.f -o bea.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c ca.f -o ca.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c hc.f -o hc.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c hcmovie.f -o hcmovie.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c members.f -o members.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c partition.f -o partition.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c pca.f -o pca.o
g77   -fPIC  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-fast-math -fno-strength-reduce -c sammon.f -o sammon.o
gcc -shared  -o multiv.so bea.o ca.o hc.o hcmovie.o members.o partition.o 
pca.o sammon.o  -L/lib -L/lib -L/usr/local/lib 
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4 
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/../../.. -lreadline -ldl 
-lncurses -lg2c-pic -lm -L/usr/lib/R/bin -lR
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [multiv.so] Erreur 1
ERROR: compilation failed for package 'multiv'
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list