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

Re: dpkg-shlibdeps warning about librt.so.1 in ocamlopt binaries



Hi,

I see similar warnings when building prooftree:

    dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/prooftree/usr/bin/prooftree was not linked against libfontconfig.so.1 (it uses none of the library's symbols).

(There are 10 such warnings for 10 different gtk libraries.)
Here, the reason is pretty clear: I link against lablgtk2, but
use only a fraction of its functionality. Nevertheless, it would
be nice to avoid the superfluous dependencies.

Is there a way to strip shared library dependencies from an
executable for this case?

Bye,

Hendrik


Reply to: