[Rd] R loads uncorrect readline library (PR#1304)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
07 Feb 2002 22:26:15 +0100


papadopo@shfj.cea.fr writes:

> Hello,
> 
> We have built R 1.4.1 on Red Hat 7.1 for use on both Red Hat 7.1 and 7.2.
> 
> Running R on Red Hat 7.2 fails with the following error message:
> 
> $ R
> /usr/local/r-1.4.1/lib/R/bin/R.bin: error while loading shared libraries: 
> libreadline.so.4.1: cannot open shared object file: No such file or directory
> $ 
> 
> This is because Red Hat 7.1 provides readline-4.1 while Red Hat 7.2. provides
> readline-4.2. Both are supposed to be binary compatible.
> 
> R should attempt to load  libreadline.so.4 instead of libreadline.so.4.1.

A build issue, rather than a bug in R as such. This is what happens
when you build against libreadline on RH7.1.

RedHat supplies the readline41-4.1-10 package in 7.2 for
compatibility, which is the preferred workaround.

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