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
  • 1.  Python3 libc.so.6 missing ?

    Posted Wed April 28, 2021 05:27 AM
    One of the packages I'm trying to use (IngoMeyer441/simple-term-menu) references a library libc.so.6, and fails to load.

    Is this something that's resolvable without modifying the source of the software itself?  Or can I modify the code and submit a PR to support AIX with some changes?

    I'm relatively new to Python3 on AIX, so this is a new problem for me.

    Thanks

    >>> import ctypes
    >>> import platform
    >>> platform.system()
    'AIX'
    >>>
    >>> ctypes.cdll.LoadLibrary("libc.so.6")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/opt/freeware/lib64/python3.7/ctypes/__init__.py", line 442, in LoadLibrary
        return self._dlltype(name)
      File "/opt/freeware/lib64/python3.7/ctypes/__init__.py", line 364, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: Could not load module .
    System error: No such file or directory
    >>>
    >>>
    ​


    ------------------------------
    David Little
    ------------------------------


  • 2.  RE: Python3 libc.so.6 missing ?

    Posted Wed April 28, 2021 05:33 AM
    "libc.so.6" is specific to linux.
    The equivalent for AIX will be "libc.a(shr_64.o)" .

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