[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does libfoo-ocaml-dev needs to depend on libfoo-dev?

Samuel Mimram <samuel.mimram@ens-lyon.org> writes:

> Hello,
> Jérôme Marant wrote:
>> Hi,
>> 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 :
> http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

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.


Jérôme Marant


Reply to: