On Mon, Mar 16, 2015 at 1:36 PM, ash kumar <[email protected]> wrote: > Using the most current code from Github, I have the following error on > compilation. > > > CC os_auth/ssl.o > os_auth/ssl.c: In function 'get_ssl_context': > os_auth/ssl.c:107: warning: implicit declaration of function > 'TLSv1_2_method' > os_auth/ssl.c:107: warning: assignment makes pointer from integer without a > cast > os_auth/ssl.c:108: warning: passing argument 1 of 'SSL_CTX_new' discards > qualifiers from pointer target type > /usr/include/openssl/ssl.h:1344: note: expected 'struct SSL_METHOD *' but > argument is of type 'const struct SSL_METHOD *' > CC os_auth/check_cert.o > CC ossec-authd > os_auth/ssl.o: In function `get_ssl_context': > ssl.c:(.text+0x263): undefined reference to `TLSv1_2_method' > collect2: ld returned 1 exit status > make: *** [ossec-authd] Error 1 > > Error 0x5. > Building error. Unable to finish the installation. > > > > I am running Debian Wheezy > > # uname -a > Linux logcollector 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 > GNU/Linux > > I cant figure out which library I am missing > > # apt-cache dump|grep libssl|grep Package > Package: libssl08-dev > Package: libssl096-dev > Package: libssl-ocaml > Package: libssl095a-dev > Package: libssl09-dev > Package: libssl-ocaml-dev > Package: libssl-dev > Package: libssl-ocaml-dev-1ipd1 > Package: libcherokee-mod-libssl > Package: libssl0.9.8-dbg > Package: libssl0.9.8 > Package: libssl > Package: libssl-ocaml-1ipd1 > > Any guidance would be greatly appreciated >
Could you try with a reasonably up to date version of OpenSSL? > Regards > > Ash > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
