(Since findlib-1.6.)
As it has become more and more complicated to write correct META files there is now some support for recognizing typical problems. Just use
ocamlfind lint METAto check the file META in the current directory. The tool reports problematic lines in META, e.g.
archive(byte,plugin) = "oUnit.cma" This specification of dynamic loading is deprecated, you should add a "plugin(...)" variable. archive(native,plugin) = "oUnit.cmxs" This specification of dynamic loading is deprecated, you should add a "plugin(...)" variable.