[R] redhat 7.2 and rpm

Martyn Plummer plummer at iarc.fr
Fri Nov 23 09:18:28 CET 2001


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.

Red Hat are pretty good about maintaining binary compatibility across
point releases.  When they do change something, they always provide
an RPM for backward compatibility.

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



More information about the R-help mailing list