hi robert,

On Thu, Jul 27, 2006 at 10:07:38AM +0200, Robert Millan [ackstorm] wrote:
> It seems that zabbix is explicitly checking for and linking with libz and
> libcrypto.  Look at the logs:
> 
>   checking for compress in -lz... yes
>   [...]
>   checking for main in -lcrypto... yes
>   [...]
>   gcc  -Wall -g -O2   -o zabbix_server [...] -lz [...] -lcrypto

well, i have just had a look at other packages build-depending on
libsnmp-dev, and  all ive had a look at  add -lcrypto to the linking
flags on build time, as this seems to bee needed when linking against
snmp stuff:

 from ifstat's configure.in:
         # Setting to be able to force linking with -lcrypto..

 from netmgr's configure.in:
        # Net/UCD-SNMP includes v3 support and insists on crypto unless
        # compiled --without-openssl

> However (and this a more important fact that I overlooked), in the case of
> openssl it would be illegal to link a GPL program with it, since the OpenSSL
> developers added an advertising clausse that makes it incompatible.  A
> Build-Conflicts should be present in order to avoid this from happening.
> Alternatively, you could link it with GnuTLS compat layer to see how it works
> out.

*sight*, i have feared this might be the case. However, i dont quite
understand the case here. Zabbix does not use any of the openssl headers
or functions in its code and is nevertheless linking against libcrypto
which is needed because libsnmp9-dev is linked against openssl. Fabio,
what do you think about this? Should i start ask Alexei for permission
about linking against openssl so we are on the safe side?

bye,
    - michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to