Troubleshoot cannot open input file “shader.lib”
Make sure the library path is valid. There is be no space between
/libpath:
and the path name.
Parent topic:
Troubleshoot mental ray for Maya shaders