<div dir="ltr"><div><div>Hi,<br></div><br>If you installed openssl from a package, did you also install the corresponding development package? On openSUSE it's called libopenssl-devel, on RHEL or Debian there are similar packages.<br></div><br>Bye,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Peter Czanik (CzP) <<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>><br>Balabit / syslog-ng upstream<br><a href="http://czanik.blogs.balabit.com/" target="_blank">http://czanik.blogs.balabit.com/</a><br><a href="https://twitter.com/PCzanik" target="_blank">https://twitter.com/PCzanik</a></div></div>
<br><div class="gmail_quote">On Tue, May 3, 2016 at 8:04 PM, Vithulan MV <span dir="ltr"><<a href="mailto:vithulanmv.12@cse.mrt.ac.lk" target="_blank">vithulanmv.12@cse.mrt.ac.lk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><div><br>
On Thu, Mar 10, 2016 at 3:03 PM, Vithulan MV<br>
<<a href="mailto:vithulanmv.12@cse.mrt.ac.lk" target="_blank">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" target="_blank">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" target="_blank">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><span class="HOEnZb"><font color="#888888">
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div><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>
</font></span></div>
<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>
<br></blockquote></div><br></div>