Re: Why does libfoo-ocaml-dev needs to depend on libfoo-dev?
Samuel Mimram <firstname.lastname@example.org> writes:
> Jérôme Marant wrote:
>> Following #277540, I fail to understand why libsdl-ocaml-dev should
>> depend on libsdl-dev.
>> For example, liblaglgtk-ocaml-dev depends on libgtk1.2-dev.
> This is not an answer for your precise bug but in the general case -dev
> packages should depend on versionned -dev of dynamic libraries they are
> linked with. This can be helpful to detect with the dependencies that
> a library does not indirectly depends on two binary incompatible
> version of a library. See :
Thanks. I've reread this paragraph. I think I got it: the OCaml native
compiler needs the .so file provided by the -dev package, which is a link
to the matching library.