bugpdrx - Bugs: bug #58058, Fail to build without mysql enabled


bug #58058: Fail to build without mysql enabled

Submitter:  Petter Reinholdtsen <pere>
Submitted:  Sat 28 Mar 2020 09:37:16 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  muellerto
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sat 28 Mar 2020 09:37:16 AM UTC, original submission:  

The source fail to build without the --enable-mysql configure flag, because the needed library is not listed on the linker command line.  The following patch solve the problem:

Index: src/libpdrx/poco_db.cc
--- src/libpdrx/poco_db.cc      (revision 475)
+++ src/libpdrx/poco_db.cc      (working copy)
@@ -191,7 +191,9 @@
 void PocoDatabase::Initialize ()
+#ifdef MYSQL
+#endif // MYSQL
 //=== DBTransactor =========================================================

Petter Reinholdtsen <pere>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by muellerto (Updated the item)
  • -email is unavailable- added by pere (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-28 muellerto StatusNone Fixed
        Assigned toNone muellerto

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code