[R] Problems in installation of package HMISC

miguel bernal miguel.bernal at ma.ieo.es
Fri Jun 7 12:54:20 CEST 2002

Dear R users

I am trying to install F. Harrell's Hmisc and Design packages for R 1.5.0. 
(Linux mandrake 8.2 build), but when using "R CMD INSTALL" I get the 
following error:

R CMD INSTALL Hmisc_1.0-1.tar.gz

*Installing *source* package 'Hmisc' ...
** libs
g77	-fPIC	-g  -02  -c  cidxcn.f  -o cidxcn.o
g77	-fPIC	-g  -02  -c  cidxcp.f  -o cidxcp.o
g77	-fPIC	-g  -02  -c  hoeffd.f   -o hoeffd.o
g77	-fPIC	-g  -02  -c  largrec.f  -o largrec.o
gcc -I/usr/lib/R/include -I/usr/local/include -D__NO_MATH_INLINE
PIC   -03 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 
-fno-strength-reduce -c ranksort.c -o rcorr.o
gcc -shared -o Hmisc.so cidxcn.o cidxcp.o hoeffd.o largrec.o ran 
     - L/usr/local/lib -L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.
gcc-lib/i586-mandrake-linux-gnu/3.0.4/../../.. -lreadline -ldl -l
ic -lm
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: ***[Hmisc.so] Error 1
ERROR: compilation failed for package 'Hmisc'

I have checked for the ld and readline libraries and they are in my system, 
so I don't know what is missed in my system. Any ideas?

Thank you very much in advance.

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