Thursday, August 18, 2011

Installing RStudio Server on Scientific Linux 6: My bash notebook

Granted, not a brilliant sysadmin mind at work here, but this might help someone someday.
Scientific Linux (SL) is built from Red Hat Enterprise Linux

See installation instructions here:
http://rstudio.org/download/server
[leipzig@localhost ~]$ sudo rpm -Uvh
http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
[sudo] password for leipzig: 
Retrieving
http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
warning: /var/tmp/rpm-tmp.S2RQAH: Header V3 RSA/SHA256 Signature, key ID
0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[leipzig@localhost ~]$ rpm -qa | grep epel
epel-release-6-5.noarch
[leipzig@localhost ~]$ which R
/usr/local/bin/R
[leipzig@localhost ~]$ R

R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> q()
Save workspace image? [y/n/c]: n
[leipzig@localhost ~]$ wget
https://s3.amazonaws.com/rstudio-server/rstudio-server-0.94.92-x86_64.rpm
--2011-08-17 13:06:36-- 
https://s3.amazonaws.com/rstudio-server/rstudio-server-0.94.92-x86_64.rpm
Resolving s3.amazonaws.com... 72.21.211.170
Connecting to s3.amazonaws.com|72.21.211.170|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11373769 (11M) [application/x-redhat-package-manager]
Saving to: “rstudio-server-0.94.92-x86_64.rpm”

100%[===========================================================================
=============================================>] 11,373,769  7.89M/s   in 1.4s   


2011-08-17 13:06:37 (7.89 MB/s) - “rstudio-server-0.94.92-x86_64.rpm” saved
[11373769/11373769]

[leipzig@localhost ~]$ sudo rpm -Uvh rstudio-server-0.94.92-x86_64.rpm
error: Failed dependencies:
	libR.so()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libRblas.so()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libRlapack.so()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libcrypto.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libgfortran.so.1()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libssl.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
[leipzig@localhost ~]$ sudo yum install R  
epel/metalink                                                                   
                                                          |  14 kB     00:00    

epel                                                                            
                                                          | 4.3 kB     00:00    

epel/primary_db                                                                 
                                                          | 4.0 MB     00:00    

sl                                                                              
                                                          | 3.2 kB     00:00    

sl-security                                                                     
                                                          | 1.9 kB     00:00    

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.x86_64 0:2.13.1-1.el6 set to be updated
--> Processing Dependency: libRmath-devel = 2.13.1-1.el6 for package:
R-2.13.1-1.el6.x86_64
--> Processing Dependency: R-devel = 2.13.1-1.el6 for package:
R-2.13.1-1.el6.x86_64
--> Running transaction check
---> Package R-devel.x86_64 0:2.13.1-1.el6 set to be updated
--> Processing Dependency: R-core = 2.13.1-1.el6 for package:
R-devel-2.13.1-1.el6.x86_64
--> Processing Dependency: bzip2-devel for package: R-devel-2.13.1-1.el6.x86_64
--> Processing Dependency: gcc-gfortran for package: R-devel-2.13.1-1.el6.x86_64
--> Processing Dependency: tk-devel for package: R-devel-2.13.1-1.el6.x86_64
--> Processing Dependency: pcre-devel for package: R-devel-2.13.1-1.el6.x86_64
--> Processing Dependency: tcl-devel for package: R-devel-2.13.1-1.el6.x86_64
---> Package libRmath-devel.x86_64 0:2.13.1-1.el6 set to be updated
--> Processing Dependency: libRmath = 2.13.1-1.el6 for package:
libRmath-devel-2.13.1-1.el6.x86_64
--> Running transaction check
---> Package R-core.x86_64 0:2.13.1-1.el6 set to be updated
--> Processing Dependency: cups for package: R-core-2.13.1-1.el6.x86_64
--> Processing Dependency: libtk8.5.so()(64bit) for package:
R-core-2.13.1-1.el6.x86_64
---> Package bzip2-devel.x86_64 0:1.0.5-7.el6_0 set to be updated
---> Package gcc-gfortran.x86_64 0:4.4.4-13.el6 set to be updated
---> Package libRmath.x86_64 0:2.13.1-1.el6 set to be updated
---> Package pcre-devel.x86_64 0:7.8-3.1.el6 set to be updated
---> Package tcl-devel.x86_64 1:8.5.7-6.el6 set to be updated
---> Package tk-devel.x86_64 1:8.5.7-5.el6 set to be updated
--> Running transaction check
---> Package cups.x86_64 1:1.4.2-35.el6_0.1 set to be updated
--> Processing Dependency: portreserve for package:
1:cups-1.4.2-35.el6_0.1.x86_64
--> Processing Dependency: poppler-utils for package:
1:cups-1.4.2-35.el6_0.1.x86_64
---> Package tk.x86_64 1:8.5.7-5.el6 set to be updated
--> Running transaction check
---> Package poppler-utils.x86_64 0:0.12.4-3.el6_0.1 set to be updated
---> Package portreserve.x86_64 0:0.0.4-4.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
================================================================================
==
 Package                                 Arch                            Version
                                      Repository                            Size
================================================================================
================================================================================
==
Installing:
 R                                       x86_64                         
2.13.1-1.el6                                  epel                              
   17 k
Installing for dependencies:
 R-core                                  x86_64                         
2.13.1-1.el6                                  epel                              
   33 M
 R-devel                                 x86_64                         
2.13.1-1.el6                                  epel                              
   88 k
 bzip2-devel                             x86_64                         
1.0.5-7.el6_0                                 sl-security                       
  249 k
 cups                                    x86_64                         
1:1.4.2-35.el6_0.1                            sl-security                       
  2.3 M
 gcc-gfortran                            x86_64                         
4.4.4-13.el6                                  sl                                
  4.7 M
 libRmath                                x86_64                         
2.13.1-1.el6                                  epel                              
  111 k
 libRmath-devel                          x86_64                         
2.13.1-1.el6                                  epel                              
   21 k
 pcre-devel                              x86_64                         
7.8-3.1.el6                                   sl                                
  317 k
 poppler-utils                           x86_64                         
0.12.4-3.el6_0.1                              sl-security                       
   72 k
 portreserve                             x86_64                         
0.0.4-4.el6                                   sl                                
   21 k
 tcl-devel                               x86_64                         
1:8.5.7-6.el6                                 sl                                
  161 k
 tk                                      x86_64                         
1:8.5.7-5.el6                                 sl                                
  1.4 M
 tk-devel                                x86_64                         
1:8.5.7-5.el6                                 sl                                
  495 k

Transaction Summary
================================================================================
================================================================================
==
Install      14 Package(s)
Upgrade       0 Package(s)

Total download size: 43 M
Installed size: 89 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): R-2.13.1-1.el6.x86_64.rpm                                               
                                                          |  17 kB     00:00    

(2/14): R-core-2.13.1-1.el6.x86_64.rpm                                          
                                                          |  33 MB     00:05    

(3/14): R-devel-2.13.1-1.el6.x86_64.rpm                                         
                                                          |  88 kB     00:00    

(4/14): bzip2-devel-1.0.5-7.el6_0.x86_64.rpm                                    
                                                          | 249 kB     00:00    

(5/14): cups-1.4.2-35.el6_0.1.x86_64.rpm                                        
                                                          | 2.3 MB     00:01    

(6/14): gcc-gfortran-4.4.4-13.el6.x86_64.rpm                                    
                                                          | 4.7 MB     00:02    

(7/14): libRmath-2.13.1-1.el6.x86_64.rpm                                        
                                                          | 111 kB     00:00    

(8/14): libRmath-devel-2.13.1-1.el6.x86_64.rpm                                  
                                                          |  21 kB     00:00    

(9/14): pcre-devel-7.8-3.1.el6.x86_64.rpm                                       
                                                          | 317 kB     00:00    

(10/14): poppler-utils-0.12.4-3.el6_0.1.x86_64.rpm                              
                                                          |  72 kB     00:00    

(11/14): portreserve-0.0.4-4.el6.x86_64.rpm                                     
                                                          |  21 kB     00:00    

(12/14): tcl-devel-8.5.7-6.el6.x86_64.rpm                                       
                                                          | 161 kB     00:00    

(13/14): tk-8.5.7-5.el6.x86_64.rpm                                              
                                                          | 1.4 MB     00:00    

(14/14): tk-devel-8.5.7-5.el6.x86_64.rpm                                        
                                                          | 495 kB     00:00    

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
Total                                                                           
                                                 3.1 MB/s |  43 MB     00:13    

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895:
NOKEY
epel/gpgkey                                                                     
                                                          | 3.2 kB     00:00 ...

Importing GPG key 0x0608B895 "EPEL (6) epel@fedoraproject.org" from
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing     : 1:tk-8.5.7-5.el6.x86_64                                      
                                                                            1/14

  Installing     : portreserve-0.0.4-4.el6.x86_64                               
                                                                            2/14

  Installing     : poppler-utils-0.12.4-3.el6_0.1.x86_64                        
                                                                            3/14

  Installing     : 1:cups-1.4.2-35.el6_0.1.x86_64                               
                                                                            4/14

  Installing     : R-core-2.13.1-1.el6.x86_64                                   
                                                                            5/14

  Installing     : gcc-gfortran-4.4.4-13.el6.x86_64                             
                                                                            6/14

  Installing     : libRmath-2.13.1-1.el6.x86_64                                 
                                                                            7/14

  Installing     : 1:tcl-devel-8.5.7-6.el6.x86_64                               
                                                                            8/14

  Installing     : 1:tk-devel-8.5.7-5.el6.x86_64                                
                                                                            9/14

  Installing     : libRmath-devel-2.13.1-1.el6.x86_64                           
                                                                           10/14

  Installing     : bzip2-devel-1.0.5-7.el6_0.x86_64                             
                                                                           11/14

  Installing     : pcre-devel-7.8-3.1.el6.x86_64                                
                                                                           12/14

  Installing     : R-devel-2.13.1-1.el6.x86_64                                  
                                                                           13/14

  Installing     : R-2.13.1-1.el6.x86_64                                        
                                                                           14/14


Installed:
  R.x86_64 0:2.13.1-1.el6                                                       
                                                                                


Dependency Installed:
  R-core.x86_64 0:2.13.1-1.el6                R-devel.x86_64 0:2.13.1-1.el6     
  bzip2-devel.x86_64 0:1.0.5-7.el6_0       cups.x86_64 1:1.4.2-35.el6_0.1     
  gcc-gfortran.x86_64 0:4.4.4-13.el6          libRmath.x86_64 0:2.13.1-1.el6    
  libRmath-devel.x86_64 0:2.13.1-1.el6     pcre-devel.x86_64 0:7.8-3.1.el6    
  poppler-utils.x86_64 0:0.12.4-3.el6_0.1     portreserve.x86_64 0:0.0.4-4.el6  
  tcl-devel.x86_64 1:8.5.7-6.el6           tk.x86_64 1:8.5.7-5.el6            
  tk-devel.x86_64 1:8.5.7-5.el6              

Complete!
[leipzig@localhost ~]$ sudo rpm -Uvh rstudio-server-0.94.92-x86_64.rpm
error: Failed dependencies:
	libcrypto.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libgfortran.so.1()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libssl.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
[leipzig@localhost ~]$ sudo yum install libcrypto.so.6
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl098e.i686 0:0.9.8e-17.el6 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libkrb5.so.3(krb5_3_MIT) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libcom_err.so.2 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libk5crypto.so.3 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libk5crypto.so.3(k5crypto_3_MIT) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libkrb5.so.3 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libgssapi_krb5.so.2 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libresolv.so.2 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libz.so.1 for package: openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6 for package: openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libdl.so.2 for package:
openssl098e-0.9.8e-17.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package:
openssl098e-0.9.8e-17.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.7.el6_0.5 set to be updated
--> Processing Dependency: libfreebl3.so for package:
glibc-2.12-1.7.el6_0.5.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package:
glibc-2.12-1.7.el6_0.5.i686
---> Package krb5-libs.i686 0:1.9-9.el6_1.1 set to be updated
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package:
krb5-libs-1.9-9.el6_1.1.i686
--> Processing Dependency: libkeyutils.so.1 for package:
krb5-libs-1.9-9.el6_1.1.i686
--> Processing Dependency: libselinux.so.1 for package:
krb5-libs-1.9-9.el6_1.1.i686
---> Package libcom_err.i686 0:1.41.12-3.el6 set to be updated
---> Package zlib.i686 0:1.2.3-25.el6 set to be updated
--> Running transaction check
---> Package keyutils-libs.i686 0:1.4-1.el6 set to be updated
---> Package libselinux.i686 0:2.0.94-2.el6 set to be updated
---> Package nss-softokn-freebl.i686 0:3.12.8-1.el6_0 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
================================================================================
==
 Package                                     Arch                         
Version                                     Repository                          
 Size
================================================================================
================================================================================
==
Installing:
 openssl098e                                 i686                         
0.9.8e-17.el6                               sl                                  
772 k
Installing for dependencies:
 glibc                                       i686                         
2.12-1.7.el6_0.5                            sl-security                         
4.3 M
 keyutils-libs                               i686                         
1.4-1.el6                                   sl                                  
 19 k
 krb5-libs                                   i686                         
1.9-9.el6_1.1                               sl-security                         
711 k
 libcom_err                                  i686                         
1.41.12-3.el6                               sl                                  
 33 k
 libselinux                                  i686                         
2.0.94-2.el6                                sl                                  
106 k
 nss-softokn-freebl                          i686                         
3.12.8-1.el6_0                              sl-security                         
108 k
 zlib                                        i686                         
1.2.3-25.el6                                sl                                  
 71 k

Transaction Summary
================================================================================
================================================================================
==
Install       8 Package(s)
Upgrade       0 Package(s)

Total download size: 6.0 M
Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): glibc-2.12-1.7.el6_0.5.i686.rpm                                          
                                                          | 4.3 MB     00:02    

(2/8): keyutils-libs-1.4-1.el6.i686.rpm                                         
                                                          |  19 kB     00:00    

(3/8): krb5-libs-1.9-9.el6_1.1.i686.rpm                                         
                                                          | 711 kB     00:00    

(4/8): libcom_err-1.41.12-3.el6.i686.rpm                                        
                                                          |  33 kB     00:00    

(5/8): libselinux-2.0.94-2.el6.i686.rpm                                         
                                                          | 106 kB     00:00    

(6/8): nss-softokn-freebl-3.12.8-1.el6_0.i686.rpm                               
                                                          | 108 kB     00:00    

(7/8): openssl098e-0.9.8e-17.el6.i686.rpm                                       
                                                          | 772 kB     00:00    

(8/8): zlib-1.2.3-25.el6.i686.rpm                                               
                                                          |  71 kB     00:00    

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
Total                                                                           
                                                 1.2 MB/s | 6.0 MB     00:04    

Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : nss-softokn-freebl-3.12.8-1.el6_0.i686                       
                                                                             1/8

  Installing     : glibc-2.12-1.7.el6_0.5.i686                                  
                                                                             2/8

  Installing     : libcom_err-1.41.12-3.el6.i686                                
                                                                             3/8

  Installing     : zlib-1.2.3-25.el6.i686                                       
                                                                             4/8

  Installing     : libselinux-2.0.94-2.el6.i686                                 
                                                                             5/8

  Installing     : keyutils-libs-1.4-1.el6.i686                                 
                                                                             6/8

  Installing     : krb5-libs-1.9-9.el6_1.1.i686                                 
                                                                             7/8

  Installing     : openssl098e-0.9.8e-17.el6.i686                               
                                                                             8/8


Installed:
  openssl098e.i686 0:0.9.8e-17.el6                                              
                                                                                


Dependency Installed:
  glibc.i686 0:2.12-1.7.el6_0.5        keyutils-libs.i686 0:1.4-1.el6           
     krb5-libs.i686 0:1.9-9.el6_1.1       libcom_err.i686 0:1.41.12-3.el6      
  libselinux.i686 0:2.0.94-2.el6       nss-softokn-freebl.i686 0:3.12.8-1.el6_0 
     zlib.i686 0:1.2.3-25.el6            

Complete!
[leipzig@localhost ~]$ sudo rpm -Uvh rstudio-server-0.94.92-x86_64.rpm
error: Failed dependencies:
	libcrypto.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libgfortran.so.1()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libssl.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
[leipzig@localhost ~]$ sudo yum install libcrypto.so.6
Setting up Install Process
Package openssl098e-0.9.8e-17.el6.i686 already installed and latest version
Nothing to do
[leipzig@localhost ~]$ sudo yum install libgfortran.so.1
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-libgfortran-41.i686 0:4.1.2-39.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
================================================================================
==
 Package                                           Arch                         
   Version                                  Repository                      Size
================================================================================
================================================================================
==
Installing:
 compat-libgfortran-41                             i686                         
   4.1.2-39.el6                             sl                              99 k

Transaction Summary
================================================================================
================================================================================
==
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 99 k
Installed size: 488 k
Is this ok [y/N]: y
Downloading Packages:
compat-libgfortran-41-4.1.2-39.el6.i686.rpm                                     
                                                          |  99 kB     00:00    

Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : compat-libgfortran-41-4.1.2-39.el6.i686                      
                                                                             1/1


Installed:
  compat-libgfortran-41.i686 0:4.1.2-39.el6                                     
                                                                                


Complete!
[leipzig@localhost ~]$ sudo rpm -Uvh rstudio-server-0.94.92-x86_64.rpm
error: Failed dependencies:
	libcrypto.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libgfortran.so.1()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
	libssl.so.6()(64bit) is needed by rstudio-server-0.94.92-1.x86_64
[leipzig@localhost ~]$ sudo yum install libssl.so.6
Setting up Install Process
Package openssl098e-0.9.8e-17.el6.i686 already installed and latest version
Nothing to do

[leipzig@localhost ~]$ sudo rpm -Uvh --nodeps rstudio-server-0.94.92-x86_64.rpm
Preparing...                ########################################### [100%]
   1:rstudio-server         ########################################### [100%]
rsession: no process killed
Starting rstudio-server: /usr/lib/rstudio-server/bin/rserver: error while
loading shared libraries: libssl.so.6: cannot open shared object file: No such
file or directory
[FAILED]

#trying some stuff recommended here
#http://support.rstudio.org/help/discussions/problems/839-installing-rstudio-
from-source-after-installing-r-from-source

[leipzig@localhost ~]$ sudo yum install openssl098e-0.9.8e
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl098e.x86_64 0:0.9.8e-17.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
================================================================================
==
 Package                                  Arch                               
Version                                       Repository                      
Size
================================================================================
================================================================================
==
Installing:
 openssl098e                              x86_64                             
0.9.8e-17.el6                                 sl                             
762 k

Transaction Summary
================================================================================
================================================================================
==
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 762 k
Installed size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
openssl098e-0.9.8e-17.el6.x86_64.rpm                                            
                                                          | 762 kB     00:00    

Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
rstudio-server-0.94.92-1.x86_64 has missing requires of libcrypto.so.6()(64bit)
rstudio-server-0.94.92-1.x86_64 has missing requires of
libgfortran.so.1()(64bit)
rstudio-server-0.94.92-1.x86_64 has missing requires of libssl.so.6()(64bit)
  Installing     : openssl098e-0.9.8e-17.el6.x86_64                             
                                                                             1/1


Installed:
  openssl098e.x86_64 0:0.9.8e-17.el6                                            
                                                                                


Complete!
[leipzig@localhost ~]$ sudo yum install gcc41-libgfortran-4.1.2
Setting up Install Process
No package gcc41-libgfortran-4.1.2 available.
Error: Nothing to do
[leipzig@localhost ~]$ sudo yum install pango-1.28.1
Setting up Install Process
Package pango-1.28.1-3.el6_0.5.x86_64 already installed and latest version
Nothing to do
[leipzig@localhost ~]$ sudo rpm -Uvh --nodeps rstudio-server-0.94.92-x86_64.rpm
Preparing...                ########################################### [100%]
	package rstudio-server-0.94.92-1.x86_64 is already installed

[leipzig@localhost ~]$ sudo rstudio-server start
[leipzig@localhost ~]$ sudo rstudio-server verify-installation
Stopping rstudio-server:                                   [  OK  ]
/usr/lib/rstudio-server/bin/rsession: error while loading shared libraries:
libgfortran.so.1: wrong ELF class: ELFCLASS32
Starting rstudio-server:                                   [  OK  ]
[leipzig@localhost ~]$ sudo yum install libgfortran.so.1
Setting up Install Process
Package compat-libgfortran-41-4.1.2-39.el6.i686 already installed and latest
version
Nothing to do
[leipzig@localhost ~]$ sudo rpm -Uvh
ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/compat-
libgfortran-41-4.1.2-39.el6.x86_64.rpm
error: open of
ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/compat-
libgfortran-41-4.1.2-39.el6.x86_64.rpm failed: No such file or directory
[leipzig@localhost ~]$ wget
ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/compat-
libgfortran-41-4.1.2-39.el6.x86_64.rpm
--2011-08-18 04:39:39-- 
http://ftp.scientificlinux.org/linux/scientific/6.0/x86_64/os/Packages/compat-
libgfortran-41-4.1.2-39.el6.x86_64.rpm
Resolving ftp.scientificlinux.org... 131.225.110.147
Connecting to ftp.scientificlinux.org|131.225.110.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128080 (125K) [application/x-rpm]
Saving to: “compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm”

100%[===========================================================================
=============================================>] 128,080      488K/s   in 0.3s   


2011-08-18 04:39:39 (488 KB/s) - “compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm”
saved [128080/128080]

[leipzig@localhost ~]$ sudo rpm -Uvh
compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:compat-libgfortran-41  ########################################### [100%]
[leipzig@localhost ~]$ sudo rstudio-server verify-installation
Stopping rstudio-server:                                   [  OK  ]
Starting rstudio-server:                                   [  OK  ]

6 comments:

  1. Thank you ... this summary did help.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. BTW -- For me the key point was in replacement of yum'd default installation of opensslxx.686 with the forced install of opensslxx.x64 (@sl repo).

      Delete
  2. thanks! was banging my head on this for a while, but something in your post worked

    ReplyDelete
  3. Generally, the public serves as a mix of their potential and existing clients. There are hidden prospects everywhere and you will lower your chances of reaching them if you lack an online identity.$1 Hosting

    ReplyDelete
  4. It is much easier to just use yum. It will install all dependencies for you.
    # yum install http://mirror.oss.ou.edu/epel/6/i386/epel-release-6-8.noarch.rpm
    # yum install R
    # yum install http://download2.rstudio.org/rstudio-server-0.97.551-x86_64.rpm
    # rstudio-server verify-installation

    ReplyDelete