[R-sig-Debian] Problem with R on Kubuntu

john walden Jwalden at mercury.wh.whoi.edu
Wed Sep 3 22:23:55 CEST 2008


Thanks Dirk.

  I get the same output you do from the ldd command,
but my R still doesn't work. I uninstalled R and then
Re-Installed it from the mirror at the Fred Hutchinson
Cancer Center, but the problem still persists. I have
a laptop running the same version of Kubuntu, and
R works fine. So, there is some difference between
how my desktop and laptop are configured. I'm trying
to get our Linux person here to help me figure it out.

 Thanks again for your help.

-John

Dirk Eddelbuettel wrote:
> On 3 September 2008 at 14:07, john walden wrote:
> |   I'm using Kubuntu 8.04 (Hardy). I installed R from the mirror:
> | http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu hardy/
>
> Ok. Sometimes the mirrors are outdated. I just point at the round-robin DNS
> entry   cran.us.r-project.org  which points to the Fred Hutchinson Cancer
> Research Center in Seattle (and is the home of BioConductor).
>
> So do this:
>
> edd at joe:~$ ldd /usr/lib/R/lib/libR.so
>         linux-gate.so.1 =>  (0xb7f6d000)
>         libblas.so.3gf => /usr/lib/atlas/libblas.so.3gf (0xb790e000)
>         libgfortran.so.2 => /usr/lib/libgfortran.so.2 (0xb7877000)
>         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7851000)
>         libreadline.so.5 => /lib/libreadline.so.5 (0xb7820000)
>         libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb77f9000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb77e4000)
>         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb77e0000)
>         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7691000)
>         /lib/ld-linux.so.2 (0xb7f6e000)
>         libncurses.so.5 => /lib/libncurses.so.5 (0xb7660000)
> edd at joe:~$     
>
> As you can see: libreadline.so.5 not 4.  We have to find where
> libreadline.so.4 crept in.
>
> And with that, my R works:
>
> edd at joe:~$ echo 'cat("Hello, world\n")' | R --slave
> Hello, world
> edd at joe:~$  
>
> |   I'm not sure what I changed.  One possibility is installing Java
> | from Sun??  Sorry I wasn't able to give you better information. I
> | was hoping someone had seen this before.
>
> Could be, or something else you installed.  
>
> Dirk
>
>



More information about the R-SIG-Debian mailing list