[syslog-ng] [patch] Fix build with --disable-ssl

Chris Fabri fabric at northwestern.edu
Tue Jan 27 00:23:34 CET 2009


This seems to do the trick, of course I'm on to something new now:

gcc  -g -O2 -Wall   -o syslog-ng  main.o libsyslog-ng.a -static   -lrt
-lnsl -lfl -L/usr/local/lib -lglib-2.0   -L/usr/local/lib -levtlog
-ldl  -lwrap   -lcap
/usr/bin/ld: cannot find -lcap
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/home/fabric/syslog-ng-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabric/syslog-ng-3.0.1'
make: *** [all] Error 2



Upgrading to syslog-ng 2 on this same box wasn't this hard.  :)   chris




On Mon, Jan 26, 2009 at 4:39 PM, Joe Shaw <joe at joeshaw.org> wrote:
> Hi,
>
> Here's a patch to fix building without SSL.  Without it,
> tlstransport.h is included by tlstransport.c and things break because
> SSLisms are undefined.
>
> Thanks,
> Joe
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
>


More information about the syslog-ng mailing list