Original Message:
Sent: Wed December 10, 2025 12:48 PM
From: Avinesh Benjamin
Subject: Python3.12 Cryptogrpahy error
@Ayappan P @Rafik Zurob
Does libunwind.rte need a minimum AIX os level version to be installed?
Will it work on AIX 7.2 (7200-04-01-1939) or older?
------------------------------
Avinesh Benjamin
Original Message:
Sent: Wed September 24, 2025 02:14 AM
From: Ayappan P
Subject: Python3.12 Cryptogrpahy error
libunwind.rte is a lpp fileset and Python3.9-cryptography is a rpm fileset. So both are two different packaging formats. So one can't put a version check of libunwind.rte in Python3.9-cryptography
------------------------------
Ayappan P
Original Message:
Sent: Tue September 23, 2025 02:15 PM
From: Avinesh Benjamin
Subject: Python3.12 Cryptogrpahy error
@Rafik Zurob
Curious if libunwind was not the required version why did dnf install python-cryptography succeed and not throw and error related to dependency during installation.
------------------------------
Avinesh Benjamin
Original Message:
Sent: Mon September 22, 2025 10:39 AM
From: Rafik Zurob
Subject: Python3.12 Cryptogrpahy error
Hello. Cryptography is built with the Rust compiler. As a result, it needs libunwind.rte 17.1.3.0 or higher installed. You can get the library from here: https://www.ibm.com/support/pages/fix-list-xl-cc-runtime-aix . The library is backwards compatible with programs built with the xlclang++ 16.1.0 compiler.
------------------------------
Rafik Zurob
Original Message:
Sent: Fri September 19, 2025 05:05 AM
From: Avinesh Benjamin
Subject: Python3.12 Cryptogrpahy error
Os level 7300-02-02-2420
(venv) bash-5.2# /opt/IBM/xlC/16.1.0/bin/xlclang --version
IBM XL C/C++ for AIX, V16.1.0 (5725-C72, 5765-J12)
Version: 16.01.0000.0021
(venv) bash-5.2#
bash-5.2# lslpp -L|grep libunwind
libunwind.rte 17.1.1.4 C F IBM XL C++ Runtime for AIX 7.2
Please advice on what the issue is or if we need to update any packages
The error is still occurs Python-cryptography is version 44.0.2, Python3.12 install using dnf via AIX openSource Toolbox
#AIX-Open-Source-Software
#AIXOpenSource
------------------------------
Avinesh Benjamin
Original Message:
Sent: Wed September 17, 2025 02:46 AM
From: Avinesh Benjamin
Subject: Python3.12 Cryptogrpahy error
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
------------------------------