[ovs-discuss] Dependenci in debian/control
blp at ovn.org
Thu Sep 14 06:10:52 UTC 2017
On Wed, Sep 13, 2017 at 10:10:37PM -0700, Ben Warren via discuss wrote:
> Hi Wolfgang,
> > On Sep 13, 2017, at 3:48 AM, Wolfgang Link <w.link at proxmox.com> wrote:
> > The new package libopenvswitch depends on libssl-dev.
> > Is this intentionally made or is libssl1.1 also good?
> This is intentional. In general 'libfoo-dev' packages contain header files and symlinks to shared libraries, while ‘libfoo' packages contain the actual shared libraries and other binaries. Also, in general, the 'libfoo-dev' packages have a dependency on the ‘libfoo' libraries, so they will be installed automatically by apt or dpkg.
> In this case, building the ‘libopenvswitch' package involves compiling and linking OpenVswitch code and also some OpenSSL stuff (I believe for TLS), so the header files are necessary. You’ll get compilation errors without libssl-dev. You may not notice this if compiling for your host environment, since it may already have the header files in place, but it will quickly become apparent if you try to cross-compile.
I think it might be a mistake, actually. Shouldn't only
libopenvswitch-dev depend on libssl-dev, not libopenvswitch?
More information about the discuss