[R] redhat 7.2 and rpm

Friedrich.Leisch@ci.tuwien.ac.at Friedrich.Leisch at ci.tuwien.ac.at
Fri Nov 23 10:16:48 CET 2001


>>>>> On Fri, 23 Nov 2001 09:18:28 +0100 (CET),
>>>>> Martyn Plummer (MP) wrote:

  > On 23-Nov-2001 Peter Dalgaard BSA wrote:
  >> Erich Neuwirth <erich.neuwirth at univie.ac.at> writes:
  >> 
  >>> since less than 24 hours my notbook runs linux,
  >>> redhat 7.2
  >>> 
  >>> the first additional package i installed was R.
  >>> i used the rpm from the server.
  >>> 
  >>> then, R would not start, complaining that it could not find
  >>> 
  >>> libreadline.so.4.1
  >>> 
  >>> redhat 7.2 installed libreadline.so.4.2
  >>> and aliases 
  >>> libreadline.so.4
  >>> libreadline.so.
  >>> 
  >>> i i created a symbolic link named
  >>> libreadline.so.4.1
  >>> to
  >>> libreadline.so.4.2
  >>> and then things worked.
  >>> 
  >>> should it be like that.
  >>> or should R try libreadline.so or at least
  >>> libreadline.so.4?
  >> 
  >> No, that is a gross hack (which I inflicted on my notebook too...). 
  >> The correct fix would be to install the real libreadline.so.4.1, or
  >> recompile R for the newer library.
  >> 
  >> I wonder: Is this because configure selects the most precise version
  >> number when looking for libraries? If so, it might get tricky to work
  >> around for the RPM maintainer.

  > For RedHat 7.2 you need to install readline41-4.1-10.i386.rpm, which
  > contains version 4.1 of the readline library.  This information is
  > contained in the file ReadMe-RH72, which you will find in the same CRAN
  > directory as the RPM.




Hmm, this is justy a note from an outsider, but for a Debian package I
would say that the R package must depend on libreadline41 such that it
gets installed automatically, when a user tries to install the R
package.

E.g., the .deb for debian testing has

Depends: perl, zlib-bin, blas2, libc6 (>= 2.2.4-4), libjpeg62,
 libncurses5 (>= 5.2.20010310-1), libpng2(>=1.0.12), libreadline4 (>=
 4.2-2), tcl8.3 (>= 8.3.0), tk8.3 (>= 8.3.0), xlibs (>> 4.1.0), zlib1g
 (>= 1:1.1.3)

I've never used RedHat, but I have rpm installed and the man pages
suggest that it offers the same functionality ... but maybe I'm
missing something obvious ...

Best,
Fritz



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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