[syslog-ng] [patch] Fix build with --disable-ssl
Balazs Scheidler
bazsi at balabit.hu
Tue Jan 27 11:34:30 CET 2009
On Mon, 2009-01-26 at 17:23 -0600, Chris Fabri wrote:
> 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
>
>
libcap is part of the linux capability support. you can disable that as
well, even though your headers seem to be installed, otherwise the
configure script would have disabled it.
maybe you only have a dynamic libcap, but not a static one?
--
Bazsi
More information about the syslog-ng
mailing list