[Lognorm] [rsyslog] liblognorm
Rainer Gerhards
rgerhards at hq.adiscon.com
Sat Nov 23 17:27:54 CET 2013
Thanks a lot, this was very useful!
Rainer
On Fri, Nov 22, 2013 at 6:53 PM, Pavel Levshin <pavel at levshin.spb.ru> wrote:
>
> Basically, you cannot have both versions available for compile, because
> they have conflicting header files. Pkg-config is a tool which works at
> compile time. It will detect just one installed version of the library, and
> you will build against this version. To have both versions available, you
> will need to place them at separate "prefixes", and select them manually at
> build time. I don't think it is really needed.
>
> When you have built your software against some version of the library,
> this piece of software will require compatible version of dynamic loadable
> library to start. Older versions of software require liblognorm.so.0, but
> newer will search for liblognorm.so.1. Therefore, you can have both
> versions of dynamic loadable libraries installed at the same system.
>
>
> Please note that I've just found a regression in my code: it is unable to
> strip quote marks from "quote-string" fields. I need to redo this part.
>
>
> --
> Pavel Levshin
>
>
> 22.11.2013 20:18, Rainer Gerhards:
>
> On Wed, Oct 30, 2013 at 8:51 PM, Pavel Levshin <pavel at levshin.spb.ru>wrote:
>
>>
>> So, I have taken the opportunity and refactored liblognorm to use json-c
>> instead of libee. Some parts of libee now present in liblognorm, notably
>> field parsers and encoders. They were rewritten to get rid of libee data
>> structures. In the same time, many bugs were fixed, and many were
>> undoubtedly produced.
>>
>> Current state of the library can be seen here:
>>
>> https://github.com/flicker581/liblognorm/tree/master-json-c
>>
>
> I have finally merged this into my git, but so far under the liblognorm1
> branch. The idea is to have a liblognorm0, for apps requiring that API and
> liblognorm1 for those that need the new one.
>
> I was not yet bold enough to merge to master and prepare a release as I
> currently do not know how I can make both available on a system AND have
> PKGCONFIG detect the right version. I've never done this before and if
> someone could lend me a helping hand, I'd greatly appreciate that.
>
> Thanks,
> Rainer
>
>
> _______________________________________________
> Lognorm mailing listLognorm at lists.adiscon.comhttp://lists.adiscon.net/mailman/listinfo/lognorm
>
>
>
> _______________________________________________
> Lognorm mailing list
> Lognorm at lists.adiscon.com
> http://lists.adiscon.net/mailman/listinfo/lognorm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.adiscon.net/pipermail/lognorm/attachments/20131123/15ba71a3/attachment.html>
More information about the Lognorm
mailing list