site-lib(5) File Formats Manual site-lib(5) (NAME) site-lib - findlib (STANDARD LAYOUT) ...somewhere in the filesystem hierarchy... | \ site-lib | +- (optional) stublibs +- (optional) postinstall +- (optional) postremove | +- package1 | | | +- META | +- archive files | +- interface definitions | +- package2 + : : \ packageN (DESCRIPTION) <> <> . path ( ) destdir ( ) findlib.conf(5) . . destdir=/usr/local/lib/ocaml/site-lib p /usr/local/lib/ocaml/site- lib/p . META . '.' . destdir . findlib.conf . ocamlfind install . findlib () path . DLL : stublibs. findlib DLL site-lib . Findlib <<.owner>> DLL DLL "dllpcre.so" "dllpcre.so.owner" "pcre" findlib "pcre" DLL . DLL . stublibs DLL . postinstall / postremove site-lib . . (ALTERNATE LAYOUT) ...somewhere in the filesystem hierarchy... | \ site-lib | +- (optional) stublibs +- (optional) postinstall +- (optional) postremove | +- package1 | | | +- archive files | +- interface definitions | +- package2 + : : \ : packageN | \ metaregistry | +- META.package1 +- META.package2 + : \ META.packageN META . path metaregistry . Findlib META site-lib path . META directory site-lib . ocamlfind install . destdir site-lib metadir metaregistry . ocamlfind install directory META . User Manual The findlib package manager for OCaml site-lib(5)