The Valley of Gwangi (1969)

A cowboy named Tuck Kirby seeks fame and fortune by capturing an Allosaurus living in a Mexican valley and putting it in a wild west show. His star attraction, called the Gwangi, turns out to have an aversion to being shown in public.