Date: 15-01-21  Time: 19:14 PM

Author Topic: python3 pynacl module install just hangs - trying to compile libsodium  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.


  • Administrator
  • Hero Member
  • *****
  • Posts: 1275
  • Karma: +0/-0
Maybe this helps - having a clean build system (that can be trashed, as the Try and Buy compiler can not be reinstalled - they hide it's history that it was installed "somewhere")
especially with a build systems that is "lowest level" supported by your environment!
Build there (as wheels), then rename (aka link) on the target host using this first draft -
Code: [Select]
#!/usr/bin/env python3
Examine arguments for aix pep425 tags
and propose ln (link) commands to give a new name
to an existing wheel for AIX.

Copyright 2020 by AIXTOOLS.NET, Michael Felt

import sys, glob, sysconfig

# save runttime-tag and reverse a copy for comparision
rt_tag = sysconfig.get_platform().split("-")
_tag = list(rt_tag)

# loop through all arguments and look for a AIX tags
for idx in range(1,len(sys.argv)):
  for arg in glob.glob(sys.argv[idx]):
    if not wheel[-1].startswith("aix_"):
    # have a potential tag, reverse tag for comparision

    # if the tags are equal, or they are not 32-bit|64-bit - continue
    if (_tag == file_tag) or _tag[0] not in ["32", "64"]:

    # if the running tag is greater AND same bit-size link names
    elif (_tag > file_tag) and _tag[0] == file_tag[0]:
      wheel[-1] = "_".join(rt_tag) + ".whl"
      print("ln {} {}".format(arg, "-".join(wheel)))
And, as I am looking at a more economical way to support aixtools - I am going to experiment, at least as far as python goes - with opening issues on - for things that can be solved via packaging (of Python).
I guess I'll do the same with (which is pypa (aka pip et al)) related.


  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Thank you ever so much time for your guidance Michael!

Not working for me quite yet.  I shall try again from the top following the steps you ran.

PASS: core_ristretto255
ERROR: pwhash_scrypt
ERROR: pwhash_scrypt_ll
PASS: scalarmult_ed25519
PASS: scalarmult_ristretto255
PASS: siphashx24
PASS: xchacha20
Testsuite summary for libsodium 1.0.18
# TOTAL: 77
# PASS:  75
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2


  • Administrator
  • Hero Member
  • *****
  • Posts: 1275
  • Karma: +0/-0
Did you get this working, i.e. PASS all tests?
If not, would you want my .whl?