LDP must be enabled in order for the protocol to be active. MPLS must also be enabled. MPLS is enabled in the config>router>mpls context.
config>router>mpls
Use the ldp command to enable LDP on a router.
config>router# ldp