System Error League of Legends

“The program can’t start because d3d9.dll is missing from tour computer”, this is the error that is displayed whenever I try to run the league, please do not know how to fix it.