[R] redhat 7.2 and rpm

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Nov 23 09:08:31 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.

AFAIK it is because the GNU linker does: the linker creates instructions
to link against foo.so.x.y.z, not foo.so.x  (which I had understood to the
ELF convention, and at least used to be on Solaris).

It is definitely nothing to do with configure, as I get the same problem
with libxml on ggobi, not using configure (in the cvs build).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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