[ refdb-Bugs-3411615 ] refdb does not compile after libdbi-0.8.4 install

SourceForge.net <[email protected]> Tue, 20 Sep 2011 09:02:51 +0200
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Bugs item #3411615, was opened at 2011-09-19 22:40
Message generated for change (Settings changed) made by mhoenicka
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=3411615&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: refdbd
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: akusmin (akusmin)
>Assigned to: Markus Hoenicka (mhoenicka)
Summary: refdb does not compile after libdbi-0.8.4 install

Initial Comment:
After Installation of libdbi-0.8.4, and compilation and installation of libdbi-drivers 0.8.3-1, compilation of refdb (revision 718, but also revision 751)  fails.
see attached file for details.

----------------------------------------------------------------------

>Comment By: Markus Hoenicka (mhoenicka)
Date: 2011-09-20 09:02

Message:
My bad. This is a consequence of trying to fix the library versioning
information of libdbi as of 0.8.4. LIB_CURRENT had to be bumped to 1 in
order to upgrade application packages linked against libdbi properly.
However, RefDB expected libdbi versions with LIB_CURRENT=1 to have the new
instance-based interface. This will now be available as of LIB_CURRENT=2.
The quick fix is to edit all occurrences of the LIB_CURRENT check in the
RefDB sources, i.e. replace

LIBDBI_LIB_CURRENT < 1

with

LIBDBI_LIB_CURRENT < 2

There are 5 occurrences in src/dbfncs.c and one in refdbd.h.in. This
should fix the problem. I'll check in fixed RefDB sources asap.

----------------------------------------------------------------------

Comment By: akusmin (akusmin)
Date: 2011-09-19 22:42

Message:
Sorry, forgot to mention: with libdbl-0.8.3 everything works. OS: slackware
13.7-x86_64.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=3411615&group_id=26091

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1