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