(self, root_path=None)
return ld_list
search for library directories in container
search for library directories in container
search for library directories in container
def _find_ld_libdirs(self, root_path=None):
        """search for library directories in container"""
        if root_path is None:
            root_path = self._container_root
        ld_list = []
        for dir_path, dummy, files in os.walk(root_path):
            for f_name in files:
                try:
                    f_path = dir_path + '/' + f_name
                    if not os.access(f_path, os.R_OK):
                        continue
                    if os.path.isfile(f_path):
                        if self._shlib.match(f_name):
                            if dir_path not in ld_list:
                                ld_list.append(dir_path)
                except OSError:
                    continue
        return ld_list
def _find_ld_libdirs ( self , root_path = None ) : if root_path is None : root_path = self . _container_root ld_list = [ ] for dir_path , dummy , files in os . walk ( root_path ) : for f_name in files : try : f_path = dir_path + '/' + f_name if not os . access ( f_path , os . R_OK ) : continue if os . path . isfile ( f_path ) : if self . _shlib . match ( f_name ) : if dir_path not in ld_list : ld_list . append ( dir_path ) except OSError : continue return ld_list