Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-3078: Centrify failed to upgrade due to missing libstdc++.so.5

Centrify DirectControl ,  

12 April,16 at 11:45 AM

Applies to: All versions of Centrify DirectControl on RHEL platforms.

Question:

Centrify fails to upgrade with the dependency error shown below. Any reason? Is there workaround or fix for it?

Failed to due missing libstdc++.so.5 
Currently this system has different version installed. 

[ykim@jxiqlvtxapp01 ~]$ rpm -ql libstdc++-4.1.2-52.el5 

/usr/lib64/libstdc++.so.6 
/usr/lib64/libstdc++.so.6.0.8 
/usr/lib/libstdc++.so.6 
/usr/lib/libstdc++.so.6.0.8 
 

install.sh ************** rev = 2012.2 (5.0.2-383) *****************
Mon May 14 17:53:44 EDT 2012 
DEBUG: /etc/redhat-release: Red Hat Enterprise Linux Server release 5.8 (Tikanga) 
INFO: TARGET_OS=linux 
INFO: OS_REV=rhel5 
INFO: ARCH=x86_64 
INFO: Express mode is supported 
INFO: script_name=install.sh 
INFO: CentrifyDC-nis is supported 
INFO: CentrifyDC-openssh is supported 
INFO: CentrifyDC-ldapproxy is supported 
INFO: CentrifyDA is supported 

install.sh: is_installed: CentrifyDC-4.4.3-424 

install.sh: get_cur_version: INFO: CUR_VER=4.4.3 
package CentrifyDC-nis is not installed 
package CentrifyDC-openssh is not installed 
package CentrifyDC-krb5 is not installed 
package CentrifyDC-ldapproxy is not installed 
package CentrifyDC-samba is not installed 
package CentrifyDC-idmap is not installed 
package CentrifyDC-adbindproxy is not installed 
package CentrifyDC-db2 is not installed 
package CentrifyDA is not installed 

install.sh: search_adcheck: ... found 

Running ./adcheck-rhel3-x86_64 ... 
WARNING: adcheck exited with warning(s).

install.sh: do_suite_prompt: 
Currently installed: CentrifyDC-4.4.3 
install.sh: do_prompt: install.sh:
determine_license: 
install.sh: do_prompt_license: 
install.sh: do_prompt_join: 
install.sh: do_prompt_gz: 
install.sh: do_verify: 
install.sh: do_preupgrade: 
install.sh: do_preinstall: 
s
kipping ... 
install.sh: do_install_main: 
install.sh: do_install: 

List of 5.0.2 packages to be installed: 

CentrifyDC 

error: Failed dependencies: 
libstdc++.so.5 is needed by (installed) HPOvPerfMI-11.00.044-1.x86_64 
libstdc++.so.5(CXXABI_1.2) is needed by (installed) HPOvPerfMI-11.00.044-1.x86_64 
libstdc++.so.5(GLIBCPP_3.2) is needed by (installed) HPOvPerfMI-11.00.044-1.x86_64 
INFO: install/upgrade RC=1 

ERROR: 
Installation error, checking file system ... 

Answer:
Our old packages unintentionally claimed "provide" for libs that we ship under /usr/share/centrifydc/lib/ so some other packages use them instead of default.

Now Centrify removed "provide" as we ship "libs" for our own binaries only and that triggers RPM package manager to give a dependency warning. We never replace or uninstall system default libs that should be used by other packages.  

It is safe to do a Centrify DirectControl upgrade using the --nodeps flag when this specific error happens.

Example:

# rpm -Uvh --nodeps <centrify package>

Libs in /usr/share/centrifydc/lib can coexist with ones in /usr/lib even if they have the same names. We highly recommend a post-upgrade reboot of the system or restarting services that complained about dependencies.

 

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.