<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&#39;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) &lt;<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>&gt;<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">&lt;<a href="mailto:vithulanmv.12@cse.mrt.ac.lk" target="_blank">vithulanmv.12@cse.mrt.ac.lk</a>&gt;</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 &gt;= 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">&lt;<a href="mailto:tamas.nagy@balabit.com" target="_blank">tamas.nagy@balabit.com</a>&gt;</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>
&lt;<a href="mailto:vithulanmv.12@cse.mrt.ac.lk" target="_blank">vithulanmv.12@cse.mrt.ac.lk</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Yes it seems so, as per<br>
&gt; <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>
&gt;<br>
&gt; Thanks for pointing that out.<br>
&gt; I tried installing openssl 1.0.1 but still the openssl version command shows<br>
&gt; the version 1.1, How do I compile syslog-ng with OpenSSL 1.0.1?<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Vithulan<br>
&gt;<br>
&gt; On 7 March 2016 at 23:15, Tibor Benke &lt;<a href="mailto:ihrwein@gmail.com" target="_blank">ihrwein@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; You probably use OpenSSL 1.1 (scroll down to the bottom of the page to<br>
&gt;&gt; &quot;History&quot;):<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt; Please verify this.<br>
&gt;&gt;<br>
&gt;&gt; Could you try to compile syslog-ng with OpenSSL 1.0.1?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Tibor<br>
&gt;&gt;<br>
&gt;&gt; 2016-03-07 18:32 GMT+01:00 Vithulan MV &lt;<a href="mailto:vithulanmv.12@cse.mrt.ac.lk" target="_blank">vithulanmv.12@cse.mrt.ac.lk</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I added required dependencies and tried to build syslog-ng from the<br>
&gt;&gt;&gt; source, there was an error saying,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ${syslog-ng_HOME}/modules/afmongodb/mongo-c-driver/src/mongoc/mongoc-scram.c:<br>
&gt;&gt;&gt; In function &#39;_mongoc_scram_sha1&#39;: storage size of &#39;digest_ctx&#39; isn&#39;t known<br>
&gt;&gt;&gt; (EVP_MD_CTX digest_ctx)<br>
&gt;&gt;&gt; I confirmed OpenSSL [1] headers are included in the file.Can you please<br>
&gt;&gt;&gt; point out whats wrong?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [1]<br>
&gt;&gt;&gt; <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>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks.<br>
&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt; Vithulan<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________________________________________________________<br>
&gt;&gt;&gt; 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>
&gt;&gt;&gt; Documentation:<br>
&gt;&gt;&gt; <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>
&gt;&gt;&gt; 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>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________________________________________________________<br>
&gt;&gt; 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>
&gt;&gt; Documentation:<br>
&gt;&gt; <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>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Vithulan MV.<br>
&gt;<br>
&gt; Undergraduate,<br>
&gt; Department of Computer Science &amp; Engineering,<br>
&gt; University of Moratuwa,<br>
&gt; Sri lanka.<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; 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>
&gt; Documentation:<br>
&gt; <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>
&gt; 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>
&gt;<br>
&gt;<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 &amp; 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>