AIX Open Source

 View Only
Expand all | Collapse all

Problem loading R Language after install: Symbol strerror_l (number 94) is not exported from dependent module /usr/lib/libc.a[shr_64.o].

  • 1.  Problem loading R Language after install: Symbol strerror_l (number 94) is not exported from dependent module /usr/lib/libc.a[shr_64.o].

    Posted Fri February 26, 2021 12:55 PM

    I'm having problems loading R after install. I'm not sure how to overcome. Any assistance would be helpful. Thanks.

    root> rpm -qa | grep R

    R-3.6.3-1.ppc

    R-devel-3.6.3-1.ppc


    Here is the error I receive:

    root> export PATH=/opt/freeware/bin:$PATH

    root> /opt/freeware/bin/R

    exec(): 0509-036 Cannot load program /opt/freeware/lib64/R/bin/exec/R because of the following errors:

            0509-130 Symbol resolution failed for /opt/freeware/lib64/libgfortran.a[libgfortran.so.5] because:

            0509-136   Symbol strerror_l (number 94) is not exported from

                       dependent module /usr/lib/libc.a[shr_64.o].

            0509-192 Examine .loader section symbols with the

                     'dump -Tv' command.


    Listing of rpm's installed:

    rpm -qa

    lsof-4.61-4.ppc

    openssl-1.0.2d-1.ppc

    yum-metadata-parser-1.1.4-2.ppc

    libgcc-8-1.ppc

    libstdc++8-8.3.0-4.ppc

    ncurses-6.2-2.ppc

    libffi-3.2.1-3.ppc

    libmpc-1.1.0-1.ppc

    freetype2-2.8-1.ppc

    fontconfig-2.11.95-4.ppc

    libgomp8-8.3.0-4.ppc

    cyrus-sasl-2.1.26-3.ppc

    libssh2-1.9.0-1.ppc

    xz-libs-5.2.5-1.ppc

    libxml2-2.9.10-1.ppc

    libunistring-0.9.10-1.ppc

    libiconv-1.16-1.ppc

    info-6.6-2.ppc

    sqlite-3.32.3-1.ppc

    p11-kit-tools-0.23.16-1.ppc

    krb5-libs-1.16.1-5.ppc

    gcc8-8.3.0-4.ppc

    gcc-cpp-8-1.ppc

    curl-7.74.0-1.ppc

    libXft-2.3.2-4waixX11.ppc

    gcc-8-1.ppc

    sudo-1.9.5p2-1.ppc

    db-devel-6.2.38-3.ppc

    python-2.7.10-1.ppc

    python-pycurl-7.19.3-1.ppc

    pysqlite-1.1.7-2.ppc

    python-devel-2.7.10-1.ppc

    libpng-1.6.27-3.ppc

    libgfortran8-8.3.0-4.ppc

    libgfortran-8-1.ppc

    cairo-1.14.6-2waixX11.ppc

    pango-1.40.1-2waixX11.ppc

    R-3.6.3-1.ppc

    gcc8-gfortran-8.3.0-4.ppc

    pci.1014034a.51-15511800-1.noarch

    AIX-rpm-7.2.3.15-8.ppc

    libgcc8-8.3.0-4.ppc

    zlib-1.2.11-2.ppc

    libstdc++-8-1.ppc

    gmp-6.1.2-1.ppc

    mpfr-4.0.2-2.ppc

    bzip2-1.0.8-2.ppc

    expat-2.2.9-2.ppc

    db-6.2.38-3.ppc

    libgomp-8-1.ppc

    openldap-2.4.56-1.ppc

    tcl-8.6.8-3.ppc

    libtextstyle-0.20.2-1.ppc

    glib2-2.56.1-2.ppc

    bash-5.0.18-1.ppc

    gettext-0.20.2-1.ppc

    readline-8.0-2.ppc

    p11-kit-0.23.16-1.ppc

    ca-certificates-2020.06.01-1.ppc

    sed-4.8-1.ppc

    gcc8-cpp-8.3.0-4.ppc

    gdbm-1.18.1-1.ppc

    libnghttp2-1.41.0-1.ppc

    libXrender-0.9.8-2waixX11.ppc

    tk-8.6.8-3.ppc

    gzip-1.10-1.ppc

    python-iniparse-0.4-1.noarch

    python-urlgrabber-3.10.1-1.noarch

    yum-3.4.3-8.noarch

    pixman-0.34.0-1.ppc

    libjpeg-9d-1.ppc

    lzo-2.10-2.ppc

    harfbuzz-1.2.7-2.ppc

    pcre-8.44-1.ppc

    R-devel-3.6.3-1.ppc

    gcc-gfortran-8-1.ppc

     



    ------------------------------
    VINCE DAVIS
    ------------------------------


  • 2.  RE: Problem loading R Language after install: Symbol strerror_l (number 94) is not exported from dependent module /usr/lib/libc.a[shr_64.o].

    Posted Mon March 01, 2021 01:42 AM
    I do not experience any error while running R on my system with fresh install. 
    Is there any Library path set? 
    Can you share output of 
    "echo $LIBPATH"

    What is the AIX level, please share output of "oslevel -s"


    ​​

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: Problem loading R Language after install: Symbol strerror_l (number 94) is not exported from dependent module /usr/lib/libc.a[shr_64.o].

    Posted Mon March 01, 2021 04:36 AM
    The recent gcc in Toolbox is built in a latest AIX TL level which seems to be not compatible with older AIX TL levels.
    We will be fixing this issue by rebuilding gcc in a older AIX TL level.
    As a workaround , you can downgrade gcc and other related packages by using the following method.

    1) Create a file which has the following contents.
    # cat translist.txt
    downgrade gcc libgcc libstdc++ libstdc++-devel gcc-c++ gcc-cpp gcc-gfortran libgfortran libgomp
    erase libgcc8
    run

    2) Execute "yum shell -y translist.txt"

    ------------------------------
    Ayappan P
    ------------------------------