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. Best, Francisco. -- Francisco Cribari-Neto voice: +55-81-2718420 Departamento de Estatistica fax: +55-81-2718422 Universidade Federal de Pernambuco e-mail: cribari at de.ufpe.br Recife/PE, 50740-540, Brazil web: www.linuxfan.com/~cribari Hardware, n: The parts of a computer that can be kicked. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 22 Sep 2000, Francisco Cribari wrote:> > 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.1Use kpackage and force installation of the RPM by removing the 'check dependencies' function; then create a symlink in /usr/lib/ called libreadline.so.3 pointing to libreadline.so.4 . I use mandrake 7.1 and it works. -- Dr. Michele Alzetta -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 22-Sep-00 Francisco Cribari wrote:> > When I try to install the R RPM under Mandrake Linux 7.1 (intel),... The Red Hat RPMS are compiled for Red Hat Linux. Although Mandrake started off as Red Hat + KDE, the two distributions are now diverging, and there is no guarantee of binary compatibility. Ideally, there should be a separate binary RPM package for Mandrake. It would be nice if someone who uses R on Mandrake would take on board this task. It is not especially hard work, and simply involves installing the required development packages, then rebuilding the source RPM. Any volunteers? Martyn -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._