[syslog-ng] mongodb problem

Peter Czanik czanik at balabit.hu
Tue Aug 9 12:52:42 CEST 2011


Hello,

My 'make dist' problem is fixed (
http://git.balabit.hu/?p=bazsi/syslog-ng-3.3.git;a=commit;h=d01c8bdd1957d4d737d47e8f14a90d5a63107681
). Running 'make' works, but once I run 'make inst' I run into the
following problem:

gmake[4]: Entering directory
`/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules/afmongodb'
Makefile:798: warning: overriding recipe for target `check'
Makefile:648: warning: ignoring old recipe for target `check'
gmake[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/syslog-ng" || ../.././install-sh -c -d
"/usr/local/lib/syslog-ng"
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c -o root -g
wheel   libafmongodb.la '/usr/local/lib/syslog-ng'
libtool: install: warning: relinking `libafmongodb.la'
libtool: install: (cd
/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules/afmongodb;
/bin/sh
/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/libtool 
--tag CC --mode=relink cc -std=gnu99 -I./libmongo-client/src
-I/usr/local/include/libnet115 -I/usr/local/include -O2 -pipe
-fno-strict-aliasing -Wall -pthread -avoid-version -module -no-undefined
-rpath=/usr/local/lib -o libafmongodb.la -rpath /usr/local/lib/syslog-ng
libafmongodb_la-afmongodb-grammar.lo libafmongodb_la-afmongodb.lo
libafmongodb_la-afmongodb-parser.lo ../../lib/libsyslog-ng.la
-L./libmongo-client/src -lmongo-client )
libtool: relink: cc -std=gnu99 -shared  -fPIC -DPIC 
.libs/libafmongodb_la-afmongodb-grammar.o
.libs/libafmongodb_la-afmongodb.o
.libs/libafmongodb_la-afmongodb-parser.o   -Wl,-rpath -Wl,/usr/local/lib
-L/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/lib/ivykis/lib/.libs
-L/usr/local/lib -lsyslog-ng -L../lib/ivykis/lib -L../lib/ivykis/modules
-lrt -lgmodule-2.0 -lgthread-2.0 -levtlog
/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/lib/ivykis/lib/.libs/libivykis.a
-lpthread -L./libmongo-client/src -lmongo-client -lglib-2.0 -lintl
-liconv -lpcre -lcrypto -lssl  -O2 -pthread   -pthread -Wl,-soname
-Wl,libafmongodb.so -o .libs/libafmongodb.so
/usr/bin/ld: cannot find -lmongo-client
libtool: install: error: relink `libafmongodb.la' with the above command
before installing it
gmake[4]: *** [install-moduleLTLIBRARIES] Error 1
gmake[4]: Leaving directory
`/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules/afmongodb'
gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory
`/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules/afmongodb'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory
`/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules/afmongodb'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/sysutils/syslog-ng3-devel/work/syslog-ng-3.3.0beta1/modules'
gmake: *** [install-recursive] Error 1
*** Error code 2

It is from the latest git sources on FreeBSD 8.1.
Bye,

-- 
Peter Czanik (CzP) <czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/




More information about the syslog-ng mailing list