Open Source Development

Power Open Source Development

Connect, learn, share, and engage with IBM Power.


#Power


#Power
 View Only

Python3.12 Cryptogrpahy error

  • 1.  Python3.12 Cryptogrpahy error

    Posted yesterday
    Edited by Avinesh Benjamin yesterday

    Hi,

    The binary built via pyinstaller and python-cryptography 44.0.2 is having issues:

    File "PyInstaller/loader/pyimod02_importers.py", line 457, in exec_module
      File "cryptography/x509/__init__.py", line 7, in <module>
      File "PyInstaller/loader/pyimod02_importers.py", line 457, in exec_module
      File "cryptography/x509/certificate_transparency.py", line 8, in <module>
    ImportError: rtld: 0712-001 Symbol __xlcxx_personality_v0 was referenced
          from module /tmp/_MEI_iLqea/libunwind.a(libunwind.so.1), but a runtime definition
          of the symbol was not found.
    [PYI-13697324:ERROR] Failed to execute script 'main' due to unhandled exception

    bash-5.2# dump -Tov /usr/lib/libunwind.a |grep __xlcxx_personality_v0
    dump: /usr/lib/libunwind.a[libunwind.imp]: dump: 0654-105 The file is not in a recognized format.
            Specify an executable file, object file, or archive file.
    [51]    0x00000000    undef      IMP     DS EXTref              .. __xlcxx_personality_v0
    bash-5.2#

    Please advice we have IBM compiler version 16 latest patch installed


    #AIXOpenSource
    ------------------------------
    Avinesh Benjamin
    ------------------------------