The error message with my semantic patch with ocaml support not installed is: Fatal error: exception Coccinelle_modules.Yes_prepare_ocamlcocci.CompileFailure("No coccilib.cmi in /usr/lib64/coccinelle/ocaml/coccilib.cmi or /usr/lib64/coccinelle/ocaml/coccilib/coccilib.cmi") You're right that it installs under /usr/lib64/coccinelle/ocaml and there's no META. # ocamlfind query coccinelle ocamlfind: Package `coccinelle' not found # ocamlfind query coccilib ocamlfind: Package `coccilib' not found I guess the coccilib is meant only for coccinelle private use, not as a shared ocaml package, and it has some hardcoded path to it?