[arch-general] syslog-ng build error

Baho Utot baho-utot at columbus.rr.com
Wed May 27 15:41:27 EDT 2009


Making syslog-ng 3.0.1-6 i686 in Clean Chroot


==> Making package: syslog-ng 3.0.1-6 i686 (Wed May 27 19:31:24 UTC
2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...


if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/eventlog
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=athlon
-O2 -pipe -fomit-frame-pointer -Wall -MT main.o -MD -MP -MF
".deps/main.Tpo" -c -o main.o main.c; \
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
gcc  -march=athlon -O2 -pipe -fomit-frame-pointer -Wall   -o syslog-ng
main.o libsyslog-ng.a   -lrt -lnsl  -Wl,-Bstatic -lfl -lglib-2.0
-levtlog   -lssl -lcrypto -lz  -lz  -lwrap -lcap -lpcre  -Wl,-Bdynamic
-ldl  
/usr/bin/ld: cannot find -lcap
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/build/src/syslog-ng-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/syslog-ng-3.0.1'
make: *** [all] Error 2
==> ERROR: Build Failed.


What is -lcap ?

Is it looking for a static lib cap?




More information about the arch-general mailing list