stderr='Error: unable to import module: /usr/local/greenplum-db-6.20.4/lib/libpq.so.5: symbol gss_acquire_cred_from, version gssapi_krb5_2_MIT not defined in file libgssapi_krb5.so.2 with link time reference
This occurs when the source and target Greenplum environments are mixed, causing utilities to fail. To resolve this, perform the following steps:
On all segments, remove from .bashrc
or .bash_profile
files any lines that source greenplum_path.sh
or set Greenplum variables.
Start a new shell and ensure that PATH
, LD_LIBRARY_PATH
, PYTHONHOME
, and PYTHONPATH
are clear of any Greenplum values. Use the unset command if these values are still pointing to Greenplum variables.
ssh to a segment host and also ensure the above values are clear of any Greenplum values.