Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  install python requests-kerberos issue

    Posted Fri July 02, 2021 01:38 AM
    Hi there,

    I am having issue install Python 'requests-kerberos' packages; the OS is AIX 7100-05-03-1846.

    Any help is appreciated.

    Thanks,
    Phillip


    # /opt/freeware/bin/python3.7 -m pip install requests-kerberos
    Collecting requests-kerberos
      Using cached requests_kerberos-0.12.0-py2.py3-none-any.whl (14 kB)
    Requirement already satisfied: cryptography>=1.3 in /opt/freeware/lib64/python3.7/site-packages (from requests-kerberos) (2.8)
    Collecting pykerberos<2.0.0,>=1.1.8
      Using cached pykerberos-1.2.1.tar.gz (24 kB)
    Requirement already satisfied: requests>=1.1.0 in /opt/freeware/lib/python3.7/site-packages (from requests-kerberos) (2.22.0)
    Requirement already satisfied: six>=1.4.1 in /opt/freeware/lib/python3.7/site-packages (from cryptography>=1.3->requests-kerberos) (1.13.0)
    Requirement already satisfied: cffi!=1.11.3,>=1.8 in /opt/freeware/lib64/python3.7/site-packages (from cryptography>=1.3->requests-kerberos) (1.13.2)
    Requirement already satisfied: pycparser in /opt/freeware/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=1.3->requests-kerberos) (2.20)
    Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/freeware/lib/python3.7/site-packages (from requests>=1.1.0->requests-kerberos) (3.0.4)
    Requirement already satisfied: idna<2.9,>=2.5 in /opt/freeware/lib/python3.7/site-packages (from requests>=1.1.0->requests-kerberos) (2.8)
    Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/freeware/lib/python3.7/site-packages (from requests>=1.1.0->requests-kerberos) (1.25.7)
    Requirement already satisfied: certifi>=2017.4.17 in /opt/freeware/lib/python3.7/site-packages (from requests>=1.1.0->requests-kerberos) (2019.9.11)
    Building wheels for collected packages: pykerberos
      Building wheel for pykerberos (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /opt/freeware/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pdyp89yc
           cwd: /tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/
      Complete output (64 lines):
      running bdist_wheel
      running build
      running build_ext
      building 'kerberos' extension
      creating build
      creating build/temp.aix-7.1-3.7
      creating build/temp.aix-7.1-3.7/src
      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 src/kerberos.c -o build/temp.aix-7.1-3.7/src/kerberos.o
      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 src/kerberosbasic.c -o build/temp.aix-7.1-3.7/src/kerberosbasic.o
      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 src/kerberosgss.c -o build/temp.aix-7.1-3.7/src/kerberosgss.o
      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 src/kerberospw.c -o build/temp.aix-7.1-3.7/src/kerberospw.o
      src/kerberospw.c: In function 'change_user_krb5pwd':
      src/kerberospw.c:114:13: warning: implicit declaration of function 'asprintf'; did you mean 'wsprintf'? [-Wimplicit-function-declaration]
               if (asprintf(&message, "%.*s: %.*s",
                   ^~~~~~~~
                   wsprintf
      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 src/base64.c -o build/temp.aix-7.1-3.7/src/base64.o
      creating build/lib.aix-7.1-3.7
      /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/opt/freeware/lib/pthread/ppc64 -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L. -L/opt/freeware/lib/pthread/ppc64 -L/opt/freeware/lib64 -L/opt/freeware/lib -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/src/kerberos.o build/temp.aix-7.1-3.7/src/kerberosbasic.o build/temp.aix-7.1-3.7/src/kerberosgss.o build/temp.aix-7.1-3.7/src/kerberospw.o build/temp.aix-7.1-3.7/src/base64.o -L/opt/freeware/lib64 -o build/lib.aix-7.1-3.7/kerberos.so
      ld: 0711-317 ERROR: Undefined symbol: .gss_display_status
      ld: 0711-317 ERROR: Undefined symbol: .gss_release_buffer
      ld: 0711-317 ERROR: Undefined symbol: .krb5_init_context
      ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_default
      ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_start_seq_get
      ld: 0711-317 ERROR: Undefined symbol: .krb5_unparse_name
      ld: 0711-317 ERROR: Undefined symbol: .krb5_free_unparsed_name
      ld: 0711-317 ERROR: Undefined symbol: .krb5_free_keytab_entry_contents
      ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_next_entry
      ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_end_seq_get
      ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_close
      ld: 0711-317 ERROR: Undefined symbol: .krb5_free_context
      ld: 0711-317 ERROR: Undefined symbol: .gss_import_name
      ld: 0711-317 ERROR: Undefined symbol: gss_nt_service_name
      ld: 0711-317 ERROR: Undefined symbol: GSS_C_NT_USER_NAME
      ld: 0711-317 ERROR: Undefined symbol: .gss_acquire_cred
      ld: 0711-317 ERROR: Undefined symbol: .gss_release_name
      ld: 0711-317 ERROR: Undefined symbol: .gss_delete_sec_context
      ld: 0711-317 ERROR: Undefined symbol: .gss_release_cred
      ld: 0711-317 ERROR: Undefined symbol: .gss_init_sec_context
      ld: 0711-317 ERROR: Undefined symbol: .gss_inquire_context
      ld: 0711-317 ERROR: Undefined symbol: .gss_display_name
      ld: 0711-317 ERROR: Undefined symbol: .gss_unwrap
      ld: 0711-317 ERROR: Undefined symbol: .gss_wrap
      ld: 0711-317 ERROR: Undefined symbol: GSS_C_NT_HOSTBASED_SERVICE
      ld: 0711-317 ERROR: Undefined symbol: .gss_accept_sec_context
      ld: 0711-317 ERROR: Undefined symbol: .error_message
      ld: 0711-317 ERROR: Undefined symbol: .krb5_parse_name
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_init
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_forwardable
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_proxiable
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_renew_life
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_password
      ld: 0711-317 ERROR: Undefined symbol: .krb5_change_password
      ld: 0711-317 ERROR: Undefined symbol: .krb5_free_principal
      ld: 0711-317 ERROR: Undefined symbol: .asprintf
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_alloc
      ld: 0711-317 ERROR: Undefined symbol: .krb5_free_cred_contents
      ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_free
      ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds_opt_init
      ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds_opt_set_ap_req_nofail
      ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds
      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
      ----------------------------------------
      ERROR: Failed building wheel for pykerberos
      Running setup.py clean for pykerberos
    Failed to build pykerberos
    Installing collected packages: pykerberos, requests-kerberos
        Running setup.py install for pykerberos ... error
        ERROR: Command errored out with exit status 1:
         command: /opt/freeware/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-n5by5ehm/install-record.txt --single-version-externally-managed --compile --install-headers /opt/freeware/include/python3.7m/pykerberos
             cwd: /tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/
        Complete output (64 lines):
        running install
        running build
        running build_ext
        building 'kerberos' extension
        creating build
        creating build/temp.aix-7.1-3.7
        creating build/temp.aix-7.1-3.7/src
        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 src/kerberos.c -o build/temp.aix-7.1-3.7/src/kerberos.o
        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 src/kerberosbasic.c -o build/temp.aix-7.1-3.7/src/kerberosbasic.o
        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 src/kerberosgss.c -o build/temp.aix-7.1-3.7/src/kerberosgss.o
        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 src/kerberospw.c -o build/temp.aix-7.1-3.7/src/kerberospw.o
        src/kerberospw.c: In function 'change_user_krb5pwd':
        src/kerberospw.c:114:13: warning: implicit declaration of function 'asprintf'; did you mean 'wsprintf'? [-Wimplicit-function-declaration]
                 if (asprintf(&message, "%.*s: %.*s",
                     ^~~~~~~~
                     wsprintf
        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 src/base64.c -o build/temp.aix-7.1-3.7/src/base64.o
        creating build/lib.aix-7.1-3.7
        /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/opt/freeware/lib/pthread/ppc64 -L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib -Wl,-brtl -Wl,-blibpath:/opt/freeware/lib/pthread/ppc64:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib -L. -L/opt/freeware/lib/pthread/ppc64 -L/opt/freeware/lib64 -L/opt/freeware/lib -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/src/kerberos.o build/temp.aix-7.1-3.7/src/kerberosbasic.o build/temp.aix-7.1-3.7/src/kerberosgss.o build/temp.aix-7.1-3.7/src/kerberospw.o build/temp.aix-7.1-3.7/src/base64.o -L/opt/freeware/lib64 -o build/lib.aix-7.1-3.7/kerberos.so
        ld: 0711-317 ERROR: Undefined symbol: .gss_display_status
        ld: 0711-317 ERROR: Undefined symbol: .gss_release_buffer
        ld: 0711-317 ERROR: Undefined symbol: .krb5_init_context
        ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_default
        ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_start_seq_get
        ld: 0711-317 ERROR: Undefined symbol: .krb5_unparse_name
        ld: 0711-317 ERROR: Undefined symbol: .krb5_free_unparsed_name
        ld: 0711-317 ERROR: Undefined symbol: .krb5_free_keytab_entry_contents
        ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_next_entry
        ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_end_seq_get
        ld: 0711-317 ERROR: Undefined symbol: .krb5_kt_close
        ld: 0711-317 ERROR: Undefined symbol: .krb5_free_context
        ld: 0711-317 ERROR: Undefined symbol: .gss_import_name
        ld: 0711-317 ERROR: Undefined symbol: gss_nt_service_name
        ld: 0711-317 ERROR: Undefined symbol: GSS_C_NT_USER_NAME
        ld: 0711-317 ERROR: Undefined symbol: .gss_acquire_cred
        ld: 0711-317 ERROR: Undefined symbol: .gss_release_name
        ld: 0711-317 ERROR: Undefined symbol: .gss_delete_sec_context
        ld: 0711-317 ERROR: Undefined symbol: .gss_release_cred
        ld: 0711-317 ERROR: Undefined symbol: .gss_init_sec_context
        ld: 0711-317 ERROR: Undefined symbol: .gss_inquire_context
        ld: 0711-317 ERROR: Undefined symbol: .gss_display_name
        ld: 0711-317 ERROR: Undefined symbol: .gss_unwrap
        ld: 0711-317 ERROR: Undefined symbol: .gss_wrap
        ld: 0711-317 ERROR: Undefined symbol: GSS_C_NT_HOSTBASED_SERVICE
        ld: 0711-317 ERROR: Undefined symbol: .gss_accept_sec_context
        ld: 0711-317 ERROR: Undefined symbol: .error_message
        ld: 0711-317 ERROR: Undefined symbol: .krb5_parse_name
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_init
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_forwardable
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_proxiable
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_set_renew_life
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_password
        ld: 0711-317 ERROR: Undefined symbol: .krb5_change_password
        ld: 0711-317 ERROR: Undefined symbol: .krb5_free_principal
        ld: 0711-317 ERROR: Undefined symbol: .asprintf
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_alloc
        ld: 0711-317 ERROR: Undefined symbol: .krb5_free_cred_contents
        ld: 0711-317 ERROR: Undefined symbol: .krb5_get_init_creds_opt_free
        ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds_opt_init
        ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds_opt_set_ap_req_nofail
        ld: 0711-317 ERROR: Undefined symbol: .krb5_verify_init_creds
        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
        ----------------------------------------
    ERROR: Command errored out with exit status 1: /opt/freeware/bin/python3.7 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m4zp338n/pykerberos_1fb4f4ca17814bf68829e85483bace09/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-n5by5ehm/install-record.txt --single-version-externally-managed --compile --install-headers /opt/freeware/include/python3.7m/pykerberos Check the logs for full command output.

    Here are all the rpm installed on the server.

    # rpm -qa|sort
    AIX-rpm-7.1.5.30-6.ppc
    TWeagent-8.3.8-0.ppc
    bash-5.0.18-1.ppc
    blas-3.8.0-1.ppc
    bzip2-1.0.8-2.ppc
    ca-certificates-2020.06.01-2.ppc
    curl-7.76.1-1.ppc
    cyrus-sasl-2.1.26-3.ppc
    db-5.3.28-1.ppc
    expat-2.2.9-2.ppc
    expect-5.45.4-2.ppc
    flexera-11.2.0-0.noarch
    gcc-8.3.0-2.ppc
    gcc-c++-8.3.0-2.ppc
    gcc-cpp-8.3.0-2.ppc
    gcc-gfortran-8.3.0-2.ppc
    gdbm-1.18.1-1.ppc
    gettext-0.20.2-1.ppc
    glib2-2.56.1-2.ppc
    gmp-6.1.2-1.ppc
    info-6.6-2.ppc
    krb5-devel-1.18.3-1.ppc
    krb5-libs-1.18.3-1.ppc
    krb5-pkinit-openssl-1.18.3-1.ppc
    krb5-workstation-1.18.3-1.ppc
    lapack-3.8.0-1.ppc
    libffi-3.2.1-3.ppc
    libffi-devel-3.2.1-3.ppc
    libgcc-8.3.0-2.ppc
    libgfortran-8.3.0-2.ppc
    libgomp-8.3.0-2.ppc
    libiconv-1.16-1.ppc
    libmpc-1.1.0-1.ppc
    libnghttp2-1.41.0-1.ppc
    libssh2-1.9.0-1.ppc
    libstdc++-8.3.0-2.ppc
    libstdc++-devel-8.3.0-2.ppc
    libtasn1-4.16.0-1.ppc
    libtextstyle-0.20.2-1.ppc
    libunistring-0.9.9-2.ppc
    libxml2-2.9.9-1.ppc
    mpfr-4.0.2-2.ppc
    ncurses-6.2-2.ppc
    openblas-0.3.6-1.ppc
    openldap-2.4.56-2.ppc
    p11-kit-0.23.16-2.ppc
    p11-kit-tools-0.23.16-2.ppc
    pkg-config-0.29.2-2.ppc
    pysqlite-1.1.7-2.ppc
    python-2.7.18-1.ppc
    python-iniparse-0.4-1.noarch
    python-pip-10.0.1-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-setuptools-0.9.8-2.noarch
    python-urlgrabber-3.10.1-1.noarch
    python3-3.7.9-1.ppc
    python3-certifi-2019.9.11-1.noarch
    python3-cffi-1.13.2-1.ppc
    python3-chardet-3.0.4-1.noarch
    python3-cryptography-2.8-1.ppc
    python3-dateutil-2.8.0-1.noarch
    python3-devel-3.7.9-1.ppc
    python3-idna-2.8-1.noarch
    python3-pycparser-2.19-1.noarch
    python3-pytz-2019.3-1.noarch
    python3-requests-2.22.0-1.noarch
    python3-six-1.13.0-1.noarch
    python3-urllib3-1.25.7-1.noarch
    readline-8.0-2.ppc
    sqlite-3.32.3-1.ppc
    tcl-8.6.11-1.ppc
    teagent-realtime-0.9-1.ppc
    unzip-6.0-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-3.4.3-8.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-1.ppc


    ------------------------------
    Phillip Guan
    ------------------------------

    #AIXOpenSource


  • 2.  RE: install python requests-kerberos issue

    Posted Fri July 02, 2021 10:06 AM

    Hi Phillip,

    I tried on my system and I could not install. 

    Though I did not get error for gss_* and krb5_* symbols as those are satisfied by krb5 libraries but I got error for asprintf and mempcpy routines. 

    These routines are not provided by AIX libc. 

    For your errors of gss_* and krb5_* symbols I wonder why it is not resolving but what I see once those are resolved still you will have issue with mempcpy and asprintf? 

    I see in my compilation -lgssapi_krb5 -lkrb5 -lk5crypto are present but I could not see in your output. 



    ------------------------------
    SANKET RATHI
    ------------------------------