issue solved by removing the old opencv Dwarf-2 build