noclue_
2010-Oct-18 07:38 UTC
[R] R installation failed on SUSE Linux -- libreadline.so.6 needed
I think that I have successfully installed libreadline.so.6. But still got an error -- libreadline.so.6 needed during R installation on SUSE Linux. help is really appreciated! ============================== # ls -lt /usr/local/lib total 4088 -rw-r--r-- 1 root root 168858 Oct 18 07:15 libhistory.a lrwxrwxrwx 1 root root 15 Oct 18 07:15 libhistory.so -> libhistory.so.6 lrwxrwxrwx 1 root root 17 Oct 18 07:15 libhistory.so.6 -> libhistory.so.6.0 -r-xr-xr-x 1 root root 110410 Oct 18 07:15 libhistory.so.6.0 -rw-r--r-- 1 root root 1149336 Oct 18 07:15 libreadline.a lrwxrwxrwx 1 root root 16 Oct 18 07:15 libreadline.so -> libreadline.so.6 lrwxrwxrwx 1 root root 18 Oct 18 07:15 libreadline.so.6 -> libreadline.so.6 .0 -r-xr-xr-x 1 root root 674459 Oct 18 07:15 libreadline.so.6.0 -rw-r--r-- 1 root root 166578 Oct 18 06:43 libhistory.old lrwxrwxrwx 1 root root 17 Oct 18 06:43 libhistory.so.5 -> libhistory.so.5.2 -r-xr-xr-x 1 root root 109183 Oct 18 06:43 libhistory.so.5.2 -rw-r--r-- 1 root root 1111532 Oct 18 06:43 libreadline.old lrwxrwxrwx 1 root root 18 Oct 18 06:43 libreadline.so.5 -> libreadline.so.5 .2 -r-xr-xr-x 1 root root 650223 Oct 18 06:43 libreadline.so.5.2 # ls -lt /usr/local/lib64 total 1328 -r-xr-xr-x 1 root root 674459 Oct 18 07:19 libreadline.so.6 -r-xr-xr-x 1 root root 674459 Oct 18 07:19 libreadline.so.6.0 # ldd /usr/local/lib/libreadline.so linux-vdso.so.1 => (0x00007fff74957000) libc.so.6 => /lib64/libc.so.6 (0x00007f295027f000) /lib64/ld-linux-x86-64.so.2 (0x00007f295082b000) # zypper install R-base Retrieving repository 'R10.1-base' metadata [error] Repository 'R10.1-base' is invalid. [|] Repository type can't be determined. Please check if the URIs defined for this repository are pointing to a valid rep ository. Warning: Disabling repository 'R10.1-base' because of the above error. Retrieving repository 'R12.2-base' metadata [error] Repository 'R12.2-base' is invalid. [|] Repository type can't be determined. Please check if the URIs defined for this repository are pointing to a valid rep ository. Warning: Disabling repository 'R12.2-base' because of the above error. Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides libreadline.so.6 needed by R-patched-2.12.0-3.1.i586 Solution 1: do not ask to install a solvable providing R-base Solution 2: break R-patched by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c] (c): -- View this message in context: http://r.789695.n4.nabble.com/R-installation-failed-on-SUSE-Linux-libreadline-so-6-needed-tp2999786p2999786.html Sent from the R help mailing list archive at Nabble.com.
Detlef Steuer
2010-Oct-18 08:04 UTC
[R] R installation failed on SUSE Linux -- libreadline.so.6 needed
On my Suse Box I have steuer at gaia:~> ll /usr/lib/libreadline.* -rw-r--r-- 1 root root 803532 5. Jul 13:46 /usr/lib/libreadline.a lrwxrwxrwx 1 root root 23 16. Jul 09:59 /usr/lib/libreadline.so -> /lib/libreadline.so.6.1 So libraries are in /usr/lib, not /usr/local/lib libreadline is provided by steuer at gaia:~> rpm -q --whatprovides libreadline6 libreadline6-6.1-8.1.i586 What Suse version are we talking about? Which repository? Hope that helps already Detlef On Mon, 18 Oct 2010 00:38:41 -0700 (PDT) noclue_ <tim.liu at netzero.net> wrote:> > I think that I have successfully installed libreadline.so.6. > But still got an error -- libreadline.so.6 needed during R installation on > SUSE Linux. > > help is really appreciated! > ==============================> > # ls -lt /usr/local/lib > total 4088 > -rw-r--r-- 1 root root 168858 Oct 18 07:15 libhistory.a > lrwxrwxrwx 1 root root 15 Oct 18 07:15 libhistory.so -> libhistory.so.6 > lrwxrwxrwx 1 root root 17 Oct 18 07:15 libhistory.so.6 -> > libhistory.so.6.0 > > -r-xr-xr-x 1 root root 110410 Oct 18 07:15 libhistory.so.6.0 > -rw-r--r-- 1 root root 1149336 Oct 18 07:15 libreadline.a > lrwxrwxrwx 1 root root 16 Oct 18 07:15 libreadline.so -> > libreadline.so.6 > lrwxrwxrwx 1 root root 18 Oct 18 07:15 libreadline.so.6 -> > libreadline.so.6 > .0 > -r-xr-xr-x 1 root root 674459 Oct 18 07:15 libreadline.so.6.0 > -rw-r--r-- 1 root root 166578 Oct 18 06:43 libhistory.old > lrwxrwxrwx 1 root root 17 Oct 18 06:43 libhistory.so.5 -> > libhistory.so.5.2 > > -r-xr-xr-x 1 root root 109183 Oct 18 06:43 libhistory.so.5.2 > -rw-r--r-- 1 root root 1111532 Oct 18 06:43 libreadline.old > lrwxrwxrwx 1 root root 18 Oct 18 06:43 libreadline.so.5 -> > libreadline.so.5 > .2 > -r-xr-xr-x 1 root root 650223 Oct 18 06:43 libreadline.so.5.2 > > > # ls -lt /usr/local/lib64 > total 1328 > -r-xr-xr-x 1 root root 674459 Oct 18 07:19 libreadline.so.6 > -r-xr-xr-x 1 root root 674459 Oct 18 07:19 libreadline.so.6.0 > > # ldd /usr/local/lib/libreadline.so > linux-vdso.so.1 => (0x00007fff74957000) > libc.so.6 => /lib64/libc.so.6 (0x00007f295027f000) > /lib64/ld-linux-x86-64.so.2 (0x00007f295082b000) > > # zypper install R-base > Retrieving repository 'R10.1-base' metadata [error] > Repository 'R10.1-base' is invalid. > [|] Repository type can't be determined. > Please check if the URIs defined for this repository are pointing to a valid > rep > ository. > Warning: Disabling repository 'R10.1-base' because of the above error. > Retrieving repository 'R12.2-base' metadata [error] > Repository 'R12.2-base' is invalid. > [|] Repository type can't be determined. > Please check if the URIs defined for this repository are pointing to a valid > rep > ository. > Warning: Disabling repository 'R12.2-base' because of the above error. > Loading repository data... > Reading installed packages... > Resolving package dependencies... > > Problem: nothing provides libreadline.so.6 needed by > R-patched-2.12.0-3.1.i586 > Solution 1: do not ask to install a solvable providing R-base > Solution 2: break R-patched by ignoring some of its dependencies > > Choose from above solutions by number or cancel [1/2/c] (c): > > -- > View this message in context: http://r.789695.n4.nabble.com/R-installation-failed-on-SUSE-Linux-libreadline-so-6-needed-tp2999786p2999786.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.