Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling issues with pynacl on AIX #555

Open
sureshbabu-nair opened this issue Sep 25, 2019 · 6 comments
Open

Compiling issues with pynacl on AIX #555

sureshbabu-nair opened this issue Sep 25, 2019 · 6 comments

Comments

@sureshbabu-nair
Copy link

Hi,

I have been trying to compile PyNaCl on AIX 7.1 & & 7.2. Everytime i throws another monkey in the wrench. When started to compile it (with gcc) from scratch (without libsodium), it gave the same issues as this user in the problem with Paramiko (paramiko/paramiko#1367)
Then I manually complied libsodium and installed it and then try to compile, PyNaCl, using the below command line. Don't why is showing Undefined Symbol

SODIUM_INSTALL=system /opt/freeware/bin/pip3 install pynacl --log /tmp/pynacl.log

2019-09-25T16:37:25,543 gcc -maix64 -fPIC -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/opt/freeware/include/python3.7m -c build/temp.aix-7.1-3.7/_sodium.c -o build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o
2019-09-25T16:37:28,693 /opt/freeware/lib/python3.7/config-3.7m/ld_so_aix gcc -maix64 -fPIC -pthread -bI:/opt/freeware/lib/python3.7/config-3.7m/python.exp -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o -L/opt/freeware/lib64 -lsodium -o build/lib.aix-7.1-3.7/nacl/_sodium.abi3.so
2019-09-25T16:37:28,893 ld: 0711-327 WARNING: Entry point not found: PyInit__sodium.abi3
2019-09-25T16:37:28,894 ld: 0711-317 ERROR: Undefined symbol: .sodium_unpad
2019-09-25T16:37:28,894 ld: 0711-317 ERROR: Undefined symbol: .sodium_pad
2019-09-25T16:37:28,894 ld: 0711-317 ERROR: Undefined symbol: .sodium_munlock
2019-09-25T16:37:28,895 ld: 0711-317 ERROR: Undefined symbol: .sodium_mlock
2019-09-25T16:37:28,895 ld: 0711-317 ERROR: Undefined symbol: .sodium_memzero
2019-09-25T16:37:28,895 ld: 0711-317 ERROR: Undefined symbol: .sodium_memcmp
2019-09-25T16:37:28,895 ld: 0711-317 ERROR: Undefined symbol: .sodium_init
2019-09-25T16:37:28,896 ld: 0711-317 ERROR: Undefined symbol: .sodium_increment
2019-09-25T16:37:28,896 ld: 0711-317 ERROR: Undefined symbol: .sodium_add
2019-09-25T16:37:28,896 ld: 0711-317 ERROR: Undefined symbol: .randombytes
2019-09-25T16:37:28,896 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_seed_keypair
2019-09-25T16:37:28,897 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_secretkeybytes
2019-09-25T16:37:28,897 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_publickeybytes
2019-09-25T16:37:28,897 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_open
2019-09-25T16:37:28,897 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_keypair
2019-09-25T16:37:28,898 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_update
2019-09-25T16:37:28,898 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_statebytes
2019-09-25T16:37:28,898 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_init
2019-09-25T16:37:28,898 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_final_verify
2019-09-25T16:37:28,899 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_final_create
2019-09-25T16:37:28,899 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519_sk_to_curve25519
2019-09-25T16:37:28,899 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519_pk_to_curve25519
2019-09-25T16:37:28,899 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_bytes
2019-09-25T16:37:28,899 ld: 0711-317 ERROR: Undefined symbol: .crypto_sign
2019-09-25T16:37:28,900 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24_keybytes
2019-09-25T16:37:28,900 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24_bytes
2019-09-25T16:37:28,900 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24
2019-09-25T16:37:28,900 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24_keybytes
2019-09-25T16:37:28,901 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24_bytes
2019-09-25T16:37:28,901 ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24
2019-09-25T16:37:28,901 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_rekey
2019-09-25T16:37:28,901 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_push
2019-09-25T16:37:28,902 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_message
2019-09-25T16:37:28,902 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_final
2019-09-25T16:37:28,902 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_statebytes
2019-09-25T16:37:28,902 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_rekey
2019-09-25T16:37:28,903 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_push
2019-09-25T16:37:28,903 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_pull
2019-09-25T16:37:28,903 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_messagebytes_max
2019-09-25T16:37:28,903 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_keygen
2019-09-25T16:37:28,904 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_keybytes
2019-09-25T16:37:28,904 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_init_push
2019-09-25T16:37:28,904 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_init_pull
2019-09-25T16:37:28,904 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_headerbytes
2019-09-25T16:37:28,905 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_abytes
2019-09-25T16:37:28,905 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_zerobytes
2019-09-25T16:37:28,905 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_open
2019-09-25T16:37:28,905 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_noncebytes
2019-09-25T16:37:28,906 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_messagebytes_max
2019-09-25T16:37:28,906 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_macbytes
2019-09-25T16:37:28,906 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_keybytes
2019-09-25T16:37:28,906 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_boxzerobytes
2019-09-25T16:37:28,907 ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox
2019-09-25T16:37:28,907 ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_scalarbytes
2019-09-25T16:37:28,907 ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_bytes
2019-09-25T16:37:28,907 ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_base
2019-09-25T16:37:28,908 ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult
2019-09-25T16:37:28,908 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_strbytes
2019-09-25T16:37:28,908 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_verify
2019-09-25T16:37:28,908 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_needs_rehash
2019-09-25T16:37:28,909 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_alg
2019-09-25T16:37:28,909 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_strprefix
2019-09-25T16:37:28,909 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_strbytes
2019-09-25T16:37:28,909 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_str_verify
2019-09-25T16:37:28,910 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_str
2019-09-25T16:37:28,910 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_saltbytes
2019-09-25T16:37:28,910 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_passwd_min
2019-09-25T16:37:28,910 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_passwd_max
2019-09-25T16:37:28,911 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive
2019-09-25T16:37:28,911 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_min
2019-09-25T16:37:28,911 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_max
2019-09-25T16:37:28,911 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_interactive
2019-09-25T16:37:28,911 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive
2019-09-25T16:37:28,912 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_min
2019-09-25T16:37:28,912 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_max
2019-09-25T16:37:28,912 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_interactive
2019-09-25T16:37:28,912 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_ll
2019-09-25T16:37:28,913 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_bytes_min
2019-09-25T16:37:28,913 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_bytes_max
2019-09-25T16:37:28,913 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_saltbytes
2019-09-25T16:37:28,913 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_passwd_min
2019-09-25T16:37:28,914 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_passwd_max
2019-09-25T16:37:28,914 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_sensitive
2019-09-25T16:37:28,914 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_moderate
2019-09-25T16:37:28,914 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_min
2019-09-25T16:37:28,915 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_max
2019-09-25T16:37:28,915 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_interactive
2019-09-25T16:37:28,915 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_sensitive
2019-09-25T16:37:28,915 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_moderate
2019-09-25T16:37:28,916 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_min
2019-09-25T16:37:28,916 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_max
2019-09-25T16:37:28,916 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_interactive
2019-09-25T16:37:28,916 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_bytes_min
2019-09-25T16:37:28,917 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_bytes_max
2019-09-25T16:37:28,917 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_strprefix
2019-09-25T16:37:28,917 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_sensitive
2019-09-25T16:37:28,917 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_moderate
2019-09-25T16:37:28,917 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_min
2019-09-25T16:37:28,918 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_max
2019-09-25T16:37:28,918 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_interactive
2019-09-25T16:37:28,918 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_sensitive
2019-09-25T16:37:28,918 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_moderate
2019-09-25T16:37:28,919 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_min
2019-09-25T16:37:28,919 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_max
2019-09-25T16:37:28,919 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_interactive
2019-09-25T16:37:28,919 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_strprefix
2019-09-25T16:37:28,920 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_sensitive
2019-09-25T16:37:28,920 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_moderate
2019-09-25T16:37:28,920 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_min
2019-09-25T16:37:28,920 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_max
2019-09-25T16:37:28,921 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_interactive
2019-09-25T16:37:28,921 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_sensitive
2019-09-25T16:37:28,921 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_moderate
2019-09-25T16:37:28,921 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_min
2019-09-25T16:37:28,921 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_max
2019-09-25T16:37:28,922 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_interactive
2019-09-25T16:37:28,922 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_default
2019-09-25T16:37:28,922 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_argon2id13
2019-09-25T16:37:28,922 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_argon2i13
2019-09-25T16:37:28,923 ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash
2019-09-25T16:37:28,923 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_sessionkeybytes
2019-09-25T16:37:28,923 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_server_session_keys
2019-09-25T16:37:28,923 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_seedbytes
2019-09-25T16:37:28,924 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_seed_keypair
2019-09-25T16:37:28,924 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_secretkeybytes
2019-09-25T16:37:28,924 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_publickeybytes
2019-09-25T16:37:28,924 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_keypair
2019-09-25T16:37:28,925 ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_client_session_keys
2019-09-25T16:37:28,925 ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha512_bytes
2019-09-25T16:37:28,925 ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha512
2019-09-25T16:37:28,925 ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha256_bytes
2019-09-25T16:37:28,926 ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha256
2019-09-25T16:37:28,926 ld: 0711-317 ERROR: Undefined symbol: .crypto_hash
2019-09-25T16:37:28,926 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_statebytes
2019-09-25T16:37:28,926 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_update
2019-09-25T16:37:28,927 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_saltbytes
2019-09-25T16:37:28,927 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_salt_personal
2019-09-25T16:37:28,927 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_personalbytes
2019-09-25T16:37:28,927 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes_min
2019-09-25T16:37:28,928 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes_max
2019-09-25T16:37:28,928 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes
2019-09-25T16:37:28,928 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_init_salt_personal
2019-09-25T16:37:28,928 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_final
2019-09-25T16:37:28,929 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes_min
2019-09-25T16:37:28,929 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes_max
2019-09-25T16:37:28,929 ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes
2019-09-25T16:37:28,929 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_zerobytes
2019-09-25T16:37:28,930 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seedbytes
2019-09-25T16:37:28,930 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seed_keypair
2019-09-25T16:37:28,930 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_secretkeybytes
2019-09-25T16:37:28,930 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_sealbytes
2019-09-25T16:37:28,931 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seal_open
2019-09-25T16:37:28,931 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seal
2019-09-25T16:37:28,931 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_publickeybytes
2019-09-25T16:37:28,932 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_open_afternm
2019-09-25T16:37:28,932 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_open
2019-09-25T16:37:28,932 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_noncebytes
2019-09-25T16:37:28,932 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_keypair
2019-09-25T16:37:28,932 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_boxzerobytes
2019-09-25T16:37:28,933 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_beforenmbytes
2019-09-25T16:37:28,933 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_beforenm
2019-09-25T16:37:28,933 ld: 0711-317 ERROR: Undefined symbol: .crypto_box_afternm
2019-09-25T16:37:28,933 ld: 0711-317 ERROR: Undefined symbol: .crypto_box
2019-09-25T16:37:28,934 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_nsecbytes
2019-09-25T16:37:28,934 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_npubbytes
2019-09-25T16:37:28,934 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_messagebytes_max
2019-09-25T16:37:28,934 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_keybytes
2019-09-25T16:37:28,935 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_encrypt
2019-09-25T16:37:28,935 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_decrypt
2019-09-25T16:37:28,935 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_abytes
2019-09-25T16:37:28,936 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_nsecbytes
2019-09-25T16:37:28,936 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_npubbytes
2019-09-25T16:37:28,936 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_messagebytes_max
2019-09-25T16:37:28,936 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_keybytes
2019-09-25T16:37:28,937 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_nsecbytes
2019-09-25T16:37:28,937 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_npubbytes
2019-09-25T16:37:28,937 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_messagebytes_max
2019-09-25T16:37:28,937 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_keybytes
2019-09-25T16:37:28,938 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_encrypt
2019-09-25T16:37:28,938 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_decrypt
2019-09-25T16:37:28,938 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_abytes
2019-09-25T16:37:28,938 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_encrypt
2019-09-25T16:37:28,939 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_decrypt
2019-09-25T16:37:28,939 ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_abytes
2019-09-25T16:37:28,939 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
2019-09-25T16:37:28,939 collect2: error: ld returned 8 exit status
2019-09-25T16:37:28,940 error: command '/opt/freeware/lib/python3.7/config-3.7m/ld_so_aix' failed with exit status 1
2019-09-25T16:37:28,997 ERROR: Failed building wheel for pynacl
2019-09-25T16:37:28,998 Running setup.py clean for pynacl
2019-09-25T16:37:28,998 Running command /opt/freeware/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/temp/build/pynacl/setup.py'"'"'; file='"'"'/temp/build/pynacl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all
2019-09-25T16:37:29,825 running clean
2019-09-25T16:37:29,826 removing 'build/temp.aix-7.1-3.7' (and everything under it)
2019-09-25T16:37:29,834 removing 'build/lib.aix-7.1-3.7' (and everything under it)
2019-09-25T16:37:29,874 'build/bdist.aix-7.1' does not exist -- can't clean it
2019-09-25T16:37:29,874 'build/scripts-3.7' does not exist -- can't clean it
2019-09-25T16:37:29,879 removing 'build'
2019-09-25T16:37:29,934 Failed to build pynacl
2019-09-25T16:37:29,935 Cleaning up...
2019-09-25T16:37:29,935 Removing source in /temp/build/pynacl
2019-09-25T16:37:31,235 Removed build tracker '/tmp/pip-req-tracker-plq7un7j'
2019-09-25T16:37:31,244 ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly
2019-09-25T16:37:31,245 Exception information:
2019-09-25T16:37:31,245 Traceback (most recent call last):
2019-09-25T16:37:31,245 File "/opt/freeware/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in main
2019-09-25T16:37:31,245 status = self.run(options, args)
2019-09-25T16:37:31,245 File "/opt/freeware/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 378, in run
2019-09-25T16:37:31,245 ", ".join(r.name for r in build_failures)))
2019-09-25T16:37:31,245 pip._internal.exceptions.InstallationError: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly

@reaperhulk
Copy link
Member

Unfortunately debugging this sort of thing is basically trying to figure out what your C build environment looks like. This issue is typically because the linker doesn't know where to find the libsodium you installed. Is it in your lib search path? You can pass LDFLAGS="-L/path/to/libsodium/dir" to help. You have /opt/freeware/lib in your flags, but is that where libsodium was installed?

@sureshbabu-nair
Copy link
Author

My libsodium was installed in the /usr/local/lib. As per your advise, I ran the install using this command line

CPPFLAGS="-I/opt/freeware/include -I/usr/local/include -I/usr/local/include/sodium" LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/local/lib -L/usr/lib -L/lib -Wl,-blibpath:/opt/freeware/l
ib64:/opt/freeware/lib:/usr/local/lib:/usr/lib:/lib" SODIUM_INSTALL=system /opt/freeware/bin/pip3 install pynacl --build=/temp/build --log /tmp/pynacl.log

I again got the same errors

2019-09-26T15:44:22,506 gcc -maix64 -fPIC -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/opt/freeware/include -I/usr/local/include -I/usr/local/include/sodium -I/opt/freeware/include/python3.7m -c build/temp.aix-7.1-3.7/_sodium.c -o build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o
2019-09-26T15:44:25,637 /opt/freeware/lib/python3.7/config-3.7m/ld_so_aix gcc -maix64 -fPIC -pthread -bI:/opt/freeware/lib/python3.7/config-3.7m/python.exp -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/local/lib -L/usr/lib -L/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/local/lib:/usr/lib:/lib -I/opt/freeware/include -I/usr/local/include -I/usr/local/include/sodium build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o -L/opt/freeware/lib64 -lsodium -o build/lib.aix-7.1-3.7/nacl/_sodium.abi3.so
2019-09-26T15:44:25,842 ld: 0711-327 WARNING: Entry point not found: PyInit__sodium.abi3
2019-09-26T15:44:25,843 ld: 0711-317 ERROR: Undefined symbol: .sodium_unpad
2019-09-26T15:44:25,843 ld: 0711-317 ERROR: Undefined symbol: .sodium_pad
2019-09-26T15:44:25,843 ld: 0711-317 ERROR: Undefined symbol: .sodium_munlock
..

@sureshbabu-nair
Copy link
Author

Thanks for the information @reaperhulk

@sureshbabu-nair
Copy link
Author

I uninstalled libsodium on the /usr/local and then reinstalled it on /opt/freeware. So that I don't need to go through the set of LDFLAGS and the pip3 automaticaly adds the libpath through the compilation. Then I ran the installing as follows

SODIUM_INSTALL=system /opt/freeware/bin/pip3 install pynacl --build=/temp/build --log /tmp/pynacl.log

Inspite of this, I am still getting the same error. I installed libsodium-1.0.16. Is this right version of libsodium thats needed?

@sureshbabu-nair
Copy link
Author

After giving up on compiling with python3, I just tried to compile with python2 on the AIX 7.1 (the servers have 2.7.16 as well). The same compilation did not give any of the errors shown above, nor did i get the error mentioned in the paramiko issue (paramiko/paramiko#1367) on AIX 7.1.

Then I tested the same compilation on AIX 7.2 server, although I got the same error as in the paramiko issue, once I compiled and installed libsodium in /opt/freeware, the pynacl compiled without a problem.

So the problem seems to be with python3 & pip3.

@bharathaselvan
Copy link

@ sureshbabu-nair

Please let me know the steps to compile and install libsodium in /opt/freeware on AIX 7.1

I'm also getting the same error while installing in python3 & pip3

Error 👎

/opt/freeware/bin/mkdir -p '/tmp/pip-install-14re3n9k/pynacl/build/temp.aix-7.1-3.7/lib/pkgconfig'
/opt/freeware/bin/install -c -m 644 libsodium.pc '/tmp/pip-install-14re3n9k/pynacl/build/temp.aix-7.1-3.7/lib/pkgconfig'
Target "install-exec-am" is up to date.
Target "install-data-am" is up to date.
Target "install" is up to date.
running build_ext
generating cffi module 'build/temp.aix-7.1-3.7/_sodium.c'
building '_sodium' extension
creating build/temp.aix-7.1-3.7/build
creating build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7
gcc -maix64 -fPIC -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -Wl,-brtl -O2 -fPIC -I/home/net1/majde001/eg_venv/include -I/opt/freeware/include/python3.7m -Ibuild/temp.aix-7.1-3.7/include -c build/temp.aix-7.1-3.7/_sodium.c -o build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o
/opt/freeware/lib/python3.7/config-3.7m/ld_so_aix gcc -maix64 -fPIC -pthread -bI:/opt/freeware/lib/python3.7/config-3.7m/python.exp -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L. -L/usr/include -L/opt/freeware/include -L/usr/lib/threads -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib64 -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib build/temp.aix-7.1-3.7/build/temp.aix-7.1-3.7/_sodium.o -Lbuild/temp.aix-7.1-3.7/lib -Lbuild/temp.aix-7.1-3.7/lib64 -L/opt/freeware/lib64 -Lbuild/temp.aix-7.1-3.7 -lsodium -lsodium -o build/lib.aix-7.1-3.7/nacl/_sodium.abi3.so
ld: 0711-327 WARNING: Entry point not found: PyInit__sodium.abi3
ld: 0711-317 ERROR: Undefined symbol: .sodium_unpad
ld: 0711-317 ERROR: Undefined symbol: .sodium_pad
ld: 0711-317 ERROR: Undefined symbol: .sodium_munlock
ld: 0711-317 ERROR: Undefined symbol: .sodium_mlock
ld: 0711-317 ERROR: Undefined symbol: .sodium_memzero
ld: 0711-317 ERROR: Undefined symbol: .sodium_memcmp
ld: 0711-317 ERROR: Undefined symbol: .sodium_init
ld: 0711-317 ERROR: Undefined symbol: .sodium_increment
ld: 0711-317 ERROR: Undefined symbol: .sodium_add
ld: 0711-317 ERROR: Undefined symbol: .randombytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_seed_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_secretkeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_publickeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_open
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_update
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_statebytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_init
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_final_verify
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519ph_final_create
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519_sk_to_curve25519
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_ed25519_pk_to_curve25519
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_sign
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphashx24
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_shorthash_siphash24
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_rekey
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_push
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_message
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_tag_final
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_statebytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_rekey
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_push
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_pull
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_messagebytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_keygen
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_init_push
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_init_pull
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_headerbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretstream_xchacha20poly1305_abytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_zerobytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_open
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_noncebytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_messagebytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_macbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox_boxzerobytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_secretbox
ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_scalarbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult_base
ld: 0711-317 ERROR: Undefined symbol: .crypto_scalarmult
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_strbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_verify
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_needs_rehash
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_str_alg
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_strprefix
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_strbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_str_verify
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_str
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_saltbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_passwd_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_passwd_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_opslimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_memlimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_ll
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_bytes_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_scryptsalsa208sha256_bytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_saltbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_passwd_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_passwd_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_opslimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_memlimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_bytes_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_bytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_strprefix
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_opslimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2id_memlimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_strprefix
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_opslimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_sensitive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_moderate
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_argon2i_memlimit_interactive
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_default
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_argon2id13
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash_alg_argon2i13
ld: 0711-317 ERROR: Undefined symbol: .crypto_pwhash
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_sessionkeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_server_session_keys
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_seedbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_seed_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_secretkeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_publickeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_kx_client_session_keys
ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha512_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha512
ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha256_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_hash_sha256
ld: 0711-317 ERROR: Undefined symbol: .crypto_hash
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_statebytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_update
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_saltbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_salt_personal
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_personalbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_init_salt_personal
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_final
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes_min
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_generichash_blake2b_bytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_zerobytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seedbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seed_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_secretkeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_sealbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seal_open
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_seal
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_publickeybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_open_afternm
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_open
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_noncebytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_keypair
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_boxzerobytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_beforenmbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_beforenm
ld: 0711-317 ERROR: Undefined symbol: .crypto_box_afternm
ld: 0711-317 ERROR: Undefined symbol: .crypto_box
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_nsecbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_npubbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_messagebytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_encrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_decrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_xchacha20poly1305_ietf_abytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_nsecbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_npubbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_messagebytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_nsecbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_npubbytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_messagebytes_max
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_keybytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_encrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_decrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_ietf_abytes
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_encrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_decrypt
ld: 0711-317 ERROR: Undefined symbol: .crypto_aead_chacha20poly1305_abytes
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
error: command '/opt/freeware/lib/python3.7/config-3.7m/ld_so_aix' failed with exit status 1
Building wheel for pynacl (PEP 517): finished with status 'error'
Running setup.py clean for pynacl
Running command /home/net1/majde001/eg_venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-14re3n9k/pynacl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all
running clean
removing 'build/temp.aix-7.1-3.7' (and everything under it)
removing 'build/lib.aix-7.1-3.7' (and everything under it)
'build/bdist.aix-7.1' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
removing 'build'
Failed to build pynacl
Cleaning up...
Removing source in /tmp/pip-install-14re3n9k/bcrypt
Removing source in /tmp/pip-install-14re3n9k/bottle
Removing source in /tmp/pip-install-14re3n9k/cffi
Removing source in /tmp/pip-install-14re3n9k/configobj
Removing source in /tmp/pip-install-14re3n9k/coverage
Removing source in /tmp/pip-install-14re3n9k/cryptography
Removing source in /tmp/pip-install-14re3n9k/cx-Oracle
Removing source in /tmp/pip-install-14re3n9k/filelock
Removing source in /tmp/pip-install-14re3n9k/future
Removing source in /tmp/pip-install-14re3n9k/gnupg
Removing source in /tmp/pip-install-14re3n9k/Jinja2
Removing source in /tmp/pip-install-14re3n9k/lazy-object-proxy
Removing source in /tmp/pip-install-14re3n9k/MarkupSafe
Removing source in /tmp/pip-install-14re3n9k/memory-profiler
Removing source in /tmp/pip-install-14re3n9k/pathlib
Removing source in /tmp/pip-install-14re3n9k/psutil
Removing source in /tmp/pip-install-14re3n9k/pycparser
Removing source in /tmp/pip-install-14re3n9k/Pygments
Removing source in /tmp/pip-install-14re3n9k/simplejson
Removing source in /tmp/pip-install-14re3n9k/SQLAlchemy
Removing source in /tmp/pip-install-14re3n9k/watchdog
Removing source in /tmp/pip-install-14re3n9k/wrapt
Removing source in /tmp/pip-install-14re3n9k/pynacl
Removing source in /tmp/pip-install-14re3n9k/PyYAML
Removing source in /tmp/pip-install-14re3n9k/pathtools
Removed build tracker '/tmp/pip-req-tracker-okfb9a9m'
Exception information:
Traceback (most recent call last):
File "/home/net1/majde001/eg_venv/lib64/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/home/net1/majde001/eg_venv/lib64/python3.7/site-packages/pip/_internal/commands/install.py", line 364, in run
", ".join(r.name for r in build_failures)))
pip._internal.exceptions.InstallationError: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants