<div dir="ltr"><div><div><div><div>Hi all, <br></div><br></div>I tried to compile syslog-ng from source after adding all required dependencies (and removed mongodb configs), but again it says <b>Cannot find OpenSSL libraries with version >= 0.9.8 it is a hard dependency from syslog-ng 3.7 onwards. </b>(See Attached image)<br>but the system already seems to be have openssl 1.0.2d version installed. What could be the reason for the failure? <br></div></div><div><br></div><div>Thanks.<br></div><div>Best regards,<br></div><div>Vithulan<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 March 2016 at 21:15, Nagy, Tamás <span dir="ltr"><<a href="mailto:tamas.nagy@balabit.com" target="_blank">tamas.nagy@balabit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1. Could you try with a newer mongo-c-driver version? You can edit the<br>
respective section in .gitmodules and try branch=master (or some other<br>
tag). You need to do this right after a clean checkout, although<br>
running autogen.sh again before configure might also be enough.<br>
<br>
2. Could you try after configuring with --disable-mongodb?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Mar 10, 2016 at 3:03 PM, Vithulan MV<br>
<<a href="mailto:vithulanmv.12@cse.mrt.ac.lk">vithulanmv.12@cse.mrt.ac.lk</a>> wrote:<br>
> Hi,<br>
><br>
> Yes it seems so, as per<br>
> <a href="https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html" rel="noreferrer" target="_blank">https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html</a><br>
><br>
> Thanks for pointing that out.<br>
> I tried installing openssl 1.0.1 but still the openssl version command shows<br>
> the version 1.1, How do I compile syslog-ng with OpenSSL 1.0.1?<br>
><br>
> Thanks.<br>
><br>
> Best regards,<br>
> Vithulan<br>
><br>
> On 7 March 2016 at 23:15, Tibor Benke <<a href="mailto:ihrwein@gmail.com">ihrwein@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> You probably use OpenSSL 1.1 (scroll down to the bottom of the page to<br>
>> "History"):<br>
>> <a href="https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html" rel="noreferrer" target="_blank">https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html</a><br>
>><br>
>> Please verify this.<br>
>><br>
>> Could you try to compile syslog-ng with OpenSSL 1.0.1?<br>
>><br>
>> Regards,<br>
>> Tibor<br>
>><br>
>> 2016-03-07 18:32 GMT+01:00 Vithulan MV <<a href="mailto:vithulanmv.12@cse.mrt.ac.lk">vithulanmv.12@cse.mrt.ac.lk</a>>:<br>
>>><br>
>>> Hi all,<br>
>>><br>
>>> I added required dependencies and tried to build syslog-ng from the<br>
>>> source, there was an error saying,<br>
>>><br>
>>> ${syslog-ng_HOME}/modules/afmongodb/mongo-c-driver/src/mongoc/mongoc-scram.c:<br>
>>> In function '_mongoc_scram_sha1': storage size of 'digest_ctx' isn't known<br>
>>> (EVP_MD_CTX digest_ctx)<br>
>>> I confirmed OpenSSL [1] headers are included in the file.Can you please<br>
>>> point out whats wrong?<br>
>>><br>
>>> [1]<br>
>>> <a href="https://github.com/mongodb/mongo-c-driver/blob/7415d3468de0c500fd6e630f7b52be181cbb66b3/src/mongoc/mongoc-scram.c#L311" rel="noreferrer" target="_blank">https://github.com/mongodb/mongo-c-driver/blob/7415d3468de0c500fd6e630f7b52be181cbb66b3/src/mongoc/mongoc-scram.c#L311</a><br>
>>><br>
>>> Thanks.<br>
>>> Regards,<br>
>>> Vithulan<br>
>>><br>
>>><br>
>>><br>
>>> ______________________________________________________________________________<br>
>>> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
>>> Documentation:<br>
>>> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
>>> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
>>><br>
>>><br>
>><br>
>><br>
>><br>
>> ______________________________________________________________________________<br>
>> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
>> Documentation:<br>
>> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
>> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Vithulan MV.<br>
><br>
> Undergraduate,<br>
> Department of Computer Science & Engineering,<br>
> University of Moratuwa,<br>
> Sri lanka.<br>
><br>
> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation:<br>
> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
><br>
><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:small"><span style="font-family:monospace,monospace">Vithulan MV.</span><br></div><div style="font-size:small"><font face="monospace, monospace"><br></font></div><div style="font-size:small"><font face="monospace, monospace">Undergraduate, </font></div><div style="font-size:small"><font face="monospace, monospace">Department of Computer Science & Engineering,</font></div><div style="font-size:small"><font face="monospace, monospace">University of Moratuwa,</font></div><div style="font-size:small"><font face="monospace, monospace">Sri lanka.</font></div></div></div>
</div>