[R] [?] RPM install problems (Linux)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Sep 22 23:49:33 CEST 2000

Francisco Cribari <cribari at de.ufpe.br> writes:

> When I try to install the R RPM under Mandrake Linux 7.1 (intel), 
> I get the following error:
> [root at edgeworth programs]# rpm -ivh R-base-1.1.1-1.i386.rpm
> error: failed dependencies:
>         libreadline.so.3 is needed by R-base-1.1.1-1
> [root at edgeworth programs]#                
> I do have realine installed:
> [root at edgeworth programs]# rpm -qa | grep readline
> readline-4.1-4mdk
> and 
> [cribari at edgeworth cribari]$ locate libreadline.so.4
> /usr/lib/libreadline.so.4
> /usr/lib/libreadline.so.4.1
> Would anyone know what's wrong? Is there a way to overcome that 
> and install R from the R RPM file? Thanks. 

Well, there are two possibilities: Either R will work with
libreadline.so.4 or it won't. If not, you should probably locate
libreadline.so.3 and install it (this should in principle be possible
to have installed along with /usr/lib/libreadline.so.4.1, but I don't
know if you get into RPM trouble). If it does work, then a symlink
from libreadline.so.4 to libreadline.so.3 would allow the RPM to
install, and hopefully also get R to run. Not really sure such a
procedure is recommendable, though...

(AFAIR, there is no problem having a .so.3 and .so.4 version of the
same library, an you might get away with taking the RedHat
readline-2.2.1-6, install it using option --force and then install
Mandrake's readline-4.1-4mdk with --force on top of it. Again: no
warranty, if it breaks your system, you keep both parts...)

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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