[syslog-ng] [review request]: MongoDB destination
Gergely Nagy
algernon at balabit.hu
Mon Jan 24 17:49:53 CET 2011
> > + The libmongo-client library is built as a shared library, and
> > is installed as such. It should be static-only, and not
> > installed, only linked to afmongodb.
> >
> > This will be implemented mostly in libmongo-client, and an
> > update of the integration/libmongo-client branch will pull that
> > in; then this branch will be updated accordingly.
>
> This is currently done in the libmongo-client git tree, but perhaps the
> same solution I've used with ivykis could work here too.
>
> e.g. create a configure.gnu script that does:
>
> ./configure --disable-shared --enable-static --with-pic $@
>
> which in turn will create a static-only library, that you can link into
> libafmongodb.so (because of the PIC compilation).
I was thinking about how to do this properly when you showed me how you
did it with ivykis: once libmongo-client is ready to be a shared library
(which will take a little while, as libmongo-client isn't my priority
anymore), I'll go down this route, indeed.
Until then, I think it's safer to keep it the way it is.
--
|8],
happily dancing the "I got merged" dance
More information about the syslog-ng
mailing list