AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

  • 1.  Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

    Posted Fri July 27, 2018 08:14 AM

    Originally posted by: strikr


    Hi:

    the following error(s) are seen on starting vim on AIX 7.2.0

     

    $ vim  
    exec(): 0509-036 Cannot load program vim because of the following errors:
            0509-130 Symbol resolution failed for vim because:
            0509-136   Symbol _Py_svnversion (number 349) is not exported from
                       dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so).
            0509-136   Symbol _Py_hgversion (number 350) is not exported from
                       dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so).
            0509-136   Symbol _Py_hgidentifier (number 351) is not exported from
                       dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so).
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

     

    the installed software list along with versions may be seen below

    AIX-rpm-7.2.0.0-5
    bash-4.4-3
    bzip2-1.0.6-2
    cloud-init-0.7.5-4.2
    curl-7.47.1-1
    db-4.8.24-4
    expat-2.1.0-1
    expect-5.42.1-3
    fdupes-1.51-1
    fontconfig-2.11.95-2
    freetype2-2.4.4-3
    gcc-8.1.0-2
    gcc-c++-8.1.0-2
    gcc-cpp-8.1.0-2
    gcc-go-8.1.0-2
    gdb-7.8.2-1
    gdbm-1.10-1
    gettext-0.19.8-1
    gettext-devel-0.19.8-1
    git-2.15.1-1
    glib2-2.48.1-2
    gmp-6.1.1-1
    gzip-1.6-2
    info-5.0-2
    less-481-1
    libX11-1.6.3-1
    libXft-2.3.2-2waixX11
    libXrender-0.9.9-1
    libffi-3.2.1-2
    libffi-devel-3.2.1-2
    libgcc-8.1.0-2
    libgo-8.1.0-2
    libgo-devel-8.1.0-2
    libiconv-1.14-1
    libidn-1.33-1
    libmpc-1.0.3-2
    libssh2-1.4.2-2
    libstdc++-8.1.0-2
    libstdc++-devel-8.1.0-2
    libtool-ltdl-2.4.6-2
    libunistring-0.9.6-2
    libxcb-1.12-1waixX11
    libxml2-2.6.17-3
    libyaml-0.1.4-1
    mpfr-3.1.4-1
    ncurses-6.1-1
    openldap-2.4.44-5
    openssl-1.1.0g-1withsslv2
    osinstall-1.4-1
    perl-5.26.2-1
    pkg-config-0.25-3
    python-2.7.15-1
    python-PyYAML-3.11-2
    python-argparse-1.2.1-1
    python-boto-2.34.0-1
    python-cheetah-2.4.4-2
    python-configobj-5.0.5-1
    python-devel-2.7.15-1
    python-docs-2.7.15-1
    python-jsonpatch-1.8-1
    python-jsonpointer-1.0.c1ec3df-1
    python-oauth-1.0.1-1
    python-prettytable-0.7.2-1
    python-pyserial-2.7-1
    python-requests-2.4.3-1
    python-setuptools-0.9.8-2
    python-six-1.3.0-1
    python-test-2.7.15-1
    python-tools-2.7.15-1
    python-xml-0.8.4-1
    readline-6.2-3
    rsync-3.1.2-3
    sqlite-3.7.15.2-3
    tcl-8.6.8-1
    tk-8.6.8-1
    tkinter-2.7.15-1
    unixODBC-2.3.6-2
    unzip-6.0-3
    vim-common-7.4-2
    vim-enhanced-7.4-2
    xcb-proto-1.12-1
    xz-libs-5.2.2-2
    zip-2.3-3
    zlib-1.2.11-1

     

    Anyone knows how the errors can be fixed ? which package do we need to upgrade / re-install ?

     

    Thanks for your time.



  • 2.  Re: Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

    Posted Fri July 27, 2018 10:28 AM

    Originally posted by: AyappanP


    Current VIM package in AIX Toolbox won't work with the latest python. You can go back to Python-2.7.10 to make it work but i won't recommend that.

    We are working on this issue and a fixed VIM will be uploaded soon. 



  • 3.  Re: Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

    Posted Fri July 27, 2018 02:12 PM

    Originally posted by: strikr


    Thanks Smile that helps.

    i will keep the latest python 2.7.15 and leave 'vim' for another time.

     

    warm regards

    Saifi.

     



  • 4.  Re: Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

    Posted Mon July 30, 2018 02:25 AM

    Originally posted by: sanket


    I see you have python-2.7.15 on your system. 

    it is not available on AIX toolbox from where did you install this version of python ?

     



  • 5.  Re: Symbol _Py_svnversion (number 349) is not exported from dependent module /opt/freeware/lib/libpython2.7.a(libpython2.7.so)

    Posted Mon July 30, 2018 04:04 AM

    Originally posted by: strikr


    with the notable exception of 'AIX-rpm-7.2.0.0-5', all the RPM installed on the system are from Bull AIX freeware site http://www.bullfreeware.com/