[Pkg-net-snmp-devel] Bug#851946: Depending on libssl1.0-dev breaks PHP builds

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Tue Jan 24 08:17:54 UTC 2017

On 2017-01-24 06:34:00 [+0000], Niels Thykier wrote:
> The guard, you proposed, is using 1.0.2, so this patch will be
> unnecessary (guess I misunderstood your original intention).  But the
> end result should be the same. :)

If you compile net-snmp against openssl 1.1.0 then you should still use
it but the other way around:

#error This needs to be compiled against openssl 1.1.0.

The point is to ensure that nobody tries to use that header file and
link against net-snmp whith an incompatible libssl.

> Thanks for the extensive testing! :)

You are welome.

> > Waiting for further instructions.
> > 
> >[...]
> I will do an NMU tonight with these changes and the -pie ones from the
> other bug.

I am not sure what we should about the package that will now fail to
build due to missing libssl-dev. Two of them (as it looks) could be
fixed if we tell libesmtp not to export the ssl flags.

> Thanks,
> ~Niels


More information about the Pkg-net-snmp-devel mailing list