Libyan leader Moammar Gadhafi's grim fate reinforced North Korea's believe that the only way to deter an outside attack would be to have nuclear weapons.