Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  yum install R fails with missing dependency

    Posted 08/24/18 11:41 AM

    Originally posted by: Edward Davignon


    Installing R from yum on AIX is missing a dependency on downlevel libgfortran.a

    yum upgrade installs newer versions of libssh2, curl, and python along with their new dependencies on gcc and gcc-cpp, which installs gcc 8.1.0, which in turn conflicts with gcc 6.3.0

    $ oslevel -s
    7200-02-02-1832
    $ oslevel -sg $(oslevel -s)
    Fileset                                 Actual Level       Service Pack Level
    -----------------------------------------------------------------------------
    devices.vdevice.IBM.vfc-client.rte      7.2.2.16           7.2.2.15
    rsct.core.rmc                           3.2.3.2            3.2.3.1
    rsct.core.utils                         3.2.3.2            3.2.3.1
    rsct.opt.storagerm                      3.2.3.2            3.2.3.1
    $ sudo yum install R
    Loaded plugins: changelog, downloadonly
    AIX_Toolbox                                                         | 2.9 kB  00:00:00
    AIX_Toolbox_72                                                      | 2.9 kB  00:00:00
    AIX_Toolbox_noarch                                                  | 2.9 kB  00:00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package R.ppc 0:3.5.1-1 will be installed
    --> Processing Dependency: libiconv >= 1.14-1 for package: R-3.5.1-1.ppc
    --> Processing Dependency: sed >= 4.4-1 for package: R-3.5.1-1.ppc
    --> Processing Dependency: libgfortran.a(libgfortran.so.3) for package: R-3.5.1-1.ppc
    --> Processing Dependency: libiconv.a(libiconv.so.2) for package: R-3.5.1-1.ppc
    --> Running transaction check
    ---> Package R.ppc 0:3.5.1-1 will be installed
    --> Processing Dependency: libgfortran.a(libgfortran.so.3) for package: R-3.5.1-1.ppc
    ---> Package libiconv.ppc 0:1.14-1 will be installed
    ---> Package sed.ppc 0:4.4-1 will be installed
    --> Finished Dependency Resolution
    Error: Package: R-3.5.1-1.ppc (AIX_Toolbox)
               Requires: libgfortran.a(libgfortran.so.3)
               Available: gcc-gfortran-4.8.5-1.ppc (AIX_Toolbox_72)
                   libgfortran.a(libgfortran.so.3)
               Available: gcc-gfortran-6.3.0-1.ppc (AIX_Toolbox_72)
                   libgfortran.a(libgfortran.so.3)
               Installed: gcc-gfortran-8.1.0-1.ppc (@AIX_Toolbox_72)
                   Not found
               Available: gcc-gfortran-7.2.0-1.ppc (AIX_Toolbox_72)
                   Not found
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: yum install R fails with missing dependency

    Posted 08/24/18 11:42 AM

    Originally posted by: Edward Davignon


    Thank you for making R available in AIX Toolbox!!!


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: yum install R fails with missing dependency

    Posted 08/28/18 02:11 AM

    Originally posted by: AyappanP


    Oh !!, Seems like the latest gcc-gfortran is only having "libgfortran.so.5" . We will fix this soon in gcc-gfortran rpm.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: yum install R fails with missing dependency

    Posted 08/28/18 02:45 AM

    Originally posted by: AyappanP


    As a workaround you can downgrade gcc to 6.3.0 version and install R.


    #AIX-Open-Source-Software
    #AIXOpenSource