uec@s<ddlmZmZmZdeeefdYZdS(i(tPlugint RedHatPlugint UbuntuPlugint LibrariescBs8eZdZdZdZdddefgZdZRS(sDynamic shared libraries t librariestsystemt ldconfigvscollect verbose ldconfig outputtslowcCs|jddg|jdr2|jdn|jdddg|jd}|d d krt}xc|d jD]Q}|jd d }t|d krqn|j |dj ddd qW|r|jddj |ddqndS(Ns/etc/ld.so.confs/etc/ld.so.conf.dRsldconfig -v -N -XtPATHtLD_LIBRARY_PATHt LD_PRELOADsldconfig -p -N -Xtstatusitoutputs => iit/s ls -lanH %st tsuggest_filenamet ld_so_cache( t add_copy_spect get_optiontadd_cmd_outputt add_env_vartcollect_cmd_outputtsett splitlinestsplittlentaddtrsplittjoin(tselftldconfigtdirstlts((s9/usr/lib/python2.7/site-packages/sos/plugins/libraries.pytsetups$  %(ssystem(t__name__t __module__t__doc__t plugin_nametprofilestFalset option_listR"(((s9/usr/lib/python2.7/site-packages/sos/plugins/libraries.pyR s N(t sos.pluginsRRRR(((s9/usr/lib/python2.7/site-packages/sos/plugins/libraries.pyt s