[syslog-ng] syslog_ng 3.0.7 make fails on RHEL.
Gergely Nagy
algernon at balabit.hu
Sun Feb 20 09:57:58 CET 2011
On Sun, 2011-02-20 at 14:24 +0530, Rakesh Rajasekharan wrote:
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/opt/soe/local/syslog-ng-3.0.7/eventlog/include/eventlog
> -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
> -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
> mv -f .deps/main.Tpo .deps/main.Po
> gcc -std=gnu99 -g -O2 -Wall -o syslog-ng main.o libsyslog-ng.a
> -static -lrt -lnsl -lfl -L/usr/local/lib -lglib-2.0 -liconv
> -L/opt/soe/local/syslog-ng-3.0.7/eventlog/lib -levtlog -ldl
> -lwrap -lcap globals.o
> /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcap
Looks like it needs libcap, a static version.
--
|8]
More information about the syslog-ng
mailing list